Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/Vulkan-Samples
/ set_translation
Method
set_translation
framework/camera_core.cpp:93–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
void Camera::set_translation(const glm::vec3 &translation)
94
{
95
this->position = translation;
96
update_view_matrix();
97
}
98
99
void Camera::translate(const glm::vec3 &delta)
100
{
Callers
15
parse_node
Method · 0.45
setup_scene
Method · 0.45
prepare
Method · 0.45
prepare
Method · 0.45
prepare
Method · 0.45
camera_set_look_at
Function · 0.45
initialize_camera
Method · 0.45
prepare_camera
Method · 0.45
prepare_camera
Method · 0.45
ComputeNBody
Method · 0.45
prepare
Method · 0.45
initializeCamera
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected