Commit d215ab83 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#42] make camera controller inaccessible for the user

parent ed0c0b5a
Pipeline #25717 passed with stages
in 3 minutes and 3 seconds
......@@ -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);
};
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment