Skip to content
Snippets Groups Projects
Verified Commit ffa857d7 authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

[#54] add documentation

parent 659d366e
No related branches found
No related tags found
1 merge request!53Resolve "Kamera - Kamerafahrt mit Interpolation"
Pipeline #26088 failed
...@@ -18,12 +18,30 @@ namespace vkcv::camera { ...@@ -18,12 +18,30 @@ namespace vkcv::camera {
InterpolationLinear(Camera &camera); InterpolationLinear(Camera &camera);
/**
* @brief Add position vector to be approached. The positions are approached in the order in which they where added.
*
* @param pos
*/
void addPosition(const glm::vec3& pos); void addPosition(const glm::vec3& pos);
/**
* @brief Set the Camera object
*
* @param camera
*/
void setCamera(Camera camera); void setCamera(Camera camera);
/**
* @brief Resets timer
*
*/
void resetTimer(); void resetTimer();
/**
* @brief Updates the camera with the interpolated position values
*
*/
void updateCamera(); void updateCamera();
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment