Adding two getters.
This commit is contained in:
parent
b68a2bb079
commit
129866d0d7
8
light.cc
8
light.cc
@ -8,3 +8,11 @@ Light::Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float int
|
||||
|
||||
Light::~Light() {
|
||||
}
|
||||
|
||||
glm::vec3 Light::getColour() {
|
||||
return colour;
|
||||
}
|
||||
|
||||
float Light::getIntensity() {
|
||||
return intensity;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user