Skip to content
Snippets Groups Projects
Commit d215ab83 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#42] make camera controller inaccessible for the user

parent ed0c0b5a
No related branches found
No related tags found
1 merge request!35Resolve "Kamera - Trackballkamera"
Pipeline #25717 passed
......@@ -47,6 +47,13 @@ namespace vkcv {
*/
void bindCameraToEvents();
/**
* @brief Gets a camera controller object of specified @p controllerType.
* @param[in] controllerType The type of the camera controller.
* @return The specified camera controller object.
*/
CameraController& getControllerByType(ControllerType controllerType);
/**
* @brief A callback function for key events. Currently, cycling between all existing camera controllers via Tab,
* window closure via Esc and polling key events from the active camera controller are supported.
......@@ -162,18 +169,10 @@ namespace vkcv {
*/
ControllerType getControllerType(uint32_t cameraIndex);
/**
* @brief Gets a camera controller object of specified @p controllerType.
* @param[in] controllerType The type of the camera controller.
* @return The specified camera controller object.
*/
CameraController& getControllerByType(ControllerType controllerType);
/**
* @brief Updates all stored camera controllers in respect to @p deltaTime.
* @param[in] deltaTime The time that has passed since last update.
*/
void update(double deltaTime);
};
}
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