Added phong lighting
This commit is contained in:
parent
839df891ab
commit
6f46112f14
7 changed files with 90 additions and 11 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue