Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
void Transform::set_rotation(const glm::quat &new_rotation)
52
{
53
rotation = new_rotation;
54
55
invalidate_world_matrix();
56
}
57
58
void Transform::set_scale(const glm::vec3 &new_scale)
59
{
Callers
3
update
Method · 0.45
update
Method · 0.45
utils.cpp
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected