Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/Vulkan-Samples
/ set_position
Method
set_position
framework/camera_core.cpp:75–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
void Camera::set_position(const glm::vec3 &position)
76
{
77
this->position = position;
78
update_view_matrix();
79
}
80
81
void Camera::set_rotation(const glm::vec3 &rotation)
82
{
Callers
15
camera_set_look_at
Function · 0.80
prepare
Method · 0.80
prepare_camera
Method · 0.80
prepare
Method · 0.80
prepare
Method · 0.80
prepare
Method · 0.80
prepare_camera
Method · 0.80
prepare
Method · 0.80
prepare_camera
Method · 0.80
prepare
Method · 0.80
initialize_camera
Method · 0.80
prepare_camera
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected