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

Method set_rotation

framework/scene_graph/components/transform.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void Transform::set_rotation(const glm::quat &new_rotation)
52{
53 rotation = new_rotation;
54
55 invalidate_world_matrix();
56}
57
58void Transform::set_scale(const glm::vec3 &new_scale)
59{

Callers 3

updateMethod · 0.45
updateMethod · 0.45
utils.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected