This commit is contained in:
Robert 2021-01-23 16:43:59 +01:00
parent a17c73d3c9
commit d74c49fed5
6 changed files with 34 additions and 19 deletions

View file

@ -78,6 +78,16 @@ namespace oglu
*/
void LookAt(const GLfloat* target);
/**
* @brief Have camera face at a certain position.
*
* This will adjust the camera's rotation in order to put the
* specified coordinate at the center of the screen.
*
* @param[in] target 3D vector with the target position
*/
void LookAt(const glm::vec3& target);
/**
* @brief Have camera face at a certain position.
*
@ -88,8 +98,6 @@ namespace oglu
*/
void LookAt(const Transformable& target);
// void Move(float x, float y, float z) override;
/**
* @brief Gets the projection matrix of the camera.
*