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
|
//To distinguish various light types
|
||||||
|
|
||||||
class Light : Entity {
|
class Light : public Entity {
|
||||||
public:
|
public:
|
||||||
Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity);
|
Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity);
|
||||||
~Light();
|
~Light();
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <ACGL/OpenGL/Managers.hh>
|
#include <ACGL/OpenGL/Managers.hh>
|
||||||
#include <ACGL/OpenGL/Objects.hh>
|
#include <ACGL/OpenGL/Objects.hh>
|
||||||
|
|
||||||
class Object : Entity {
|
class Object : public Entity {
|
||||||
public:
|
public:
|
||||||
Object(Model model, Texture texture, glm::vec3 position, glm::vec3 rotation,
|
Object(Model model, Texture texture, glm::vec3 position, glm::vec3 rotation,
|
||||||
glm::vec3 velocity, glm::vec3 angularVelocity, Shader shader);
|
glm::vec3 velocity, glm::vec3 angularVelocity, Shader shader);
|
||||||
|
Loading…
Reference in New Issue
Block a user