Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/Vulkan-Samples
/ set_scale
Method
set_scale
framework/scene_graph/components/transform.cpp:58–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
void Transform::set_scale(const glm::vec3 &new_scale)
59
{
60
scale = new_scale;
61
62
invalidate_world_matrix();
63
}
64
65
const glm::vec3 &Transform::get_translation() const
66
{
Callers
3
parse_node
Method · 0.80
update
Method · 0.80
setup_scene
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected