MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / set_rotation

Method set_rotation

framework/camera_core.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void Camera::set_rotation(const glm::vec3 &rotation)
82{
83 this->rotation = rotation;
84 update_view_matrix();
85}
86
87void Camera::rotate(const glm::vec3 &delta)
88{

Callers 15

parse_nodeMethod · 0.45
updateMethod · 0.45
setup_sceneMethod · 0.45
prepareMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
prepareMethod · 0.45
camera_set_look_atFunction · 0.45
camera_set_look_atFunction · 0.45
prepare_cameraMethod · 0.45
prepareMethod · 0.45
initialize_cameraMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected