Made Entity inheritence public.
This commit is contained in:
parent
a88490b622
commit
911c8ebfcc
2
light.hh
2
light.hh
@ -6,7 +6,7 @@
|
||||
|
||||
//To distinguish various light types
|
||||
|
||||
class Light : Entity {
|
||||
class Light : public Entity {
|
||||
public:
|
||||
Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity);
|
||||
~Light();
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <ACGL/OpenGL/Managers.hh>
|
||||
#include <ACGL/OpenGL/Objects.hh>
|
||||
|
||||
class Object : Entity {
|
||||
class Object : public Entity {
|
||||
public:
|
||||
Object(Model model, Texture texture, glm::vec3 position, glm::vec3 rotation,
|
||||
glm::vec3 velocity, glm::vec3 angularVelocity, Shader shader);
|
||||
|
Loading…
Reference in New Issue
Block a user