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

Method set_translation

framework/scene_graph/components/transform.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void Transform::set_translation(const glm::vec3 &new_translation)
45{
46 translation = new_translation;
47
48 invalidate_world_matrix();
49}
50
51void Transform::set_rotation(const glm::quat &new_rotation)
52{

Callers 3

updateMethod · 0.45
updateMethod · 0.45
utils.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected