Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
void Camera::set_rotation(const glm::vec3 &rotation)
82
{
83
this->rotation = rotation;
84
update_view_matrix();
85
}
86
87
void Camera::rotate(const glm::vec3 &delta)
88
{
Callers
15
parse_node
Method · 0.45
update
Method · 0.45
setup_scene
Method · 0.45
prepare
Method · 0.45
update
Method · 0.45
update
Method · 0.45
prepare
Method · 0.45
camera_set_look_at
Function · 0.45
camera_set_look_at
Function · 0.45
prepare_camera
Method · 0.45
prepare
Method · 0.45
initialize_camera
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected