MCPcopy 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
93void Camera::set_translation(const glm::vec3 &translation)
94{
95 this->position = translation;
96 update_view_matrix();
97}
98
99void Camera::translate(const glm::vec3 &delta)
100{

Callers 15

parse_nodeMethod · 0.45
setup_sceneMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
camera_set_look_atFunction · 0.45
initialize_cameraMethod · 0.45
prepare_cameraMethod · 0.45
prepare_cameraMethod · 0.45
ComputeNBodyMethod · 0.45
prepareMethod · 0.45
initializeCameraMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected