diff --git a/modules/camera/include/vkcv/camera/CameraManager.hpp b/modules/camera/include/vkcv/camera/CameraManager.hpp index e75ec1693c7492dbed40a782b17f7b928455f9fd..153a18c205a35084c9f34600958a6758e748503c 100644 --- a/modules/camera/include/vkcv/camera/CameraManager.hpp +++ b/modules/camera/include/vkcv/camera/CameraManager.hpp @@ -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); - }; }