Added phong lighting

This commit is contained in:
Robert 2021-01-27 22:42:47 +01:00
parent 839df891ab
commit 6f46112f14
7 changed files with 90 additions and 11 deletions

View file

@ -74,6 +74,13 @@ namespace oglu
*/
void SetPosition(const glm::vec3& position);
/**
* @brief Get the cameras position.
*
* @returns a 3D vector pointing to the position of the camera
*/
const glm::vec3 GetPosition();
/**
* @brief Offset the cameras position
*