Skip to main content

global_matrix

Function global_matrix 

Source
pub fn global_matrix(world: &World, e: Entity) -> Mat4
Expand description

Computes the current world matrix directly from local transforms. Missing transforms contribute identity; stale handles return identity. Malformed cycles are truncated before revisiting an entity.