Skip to main content

transform_axes

Function transform_axes 

pub fn transform_axes(transform: &Mat4, length: f32) -> Vec<GizmoLineInstance>
Expand description

Generates XYZ axis lines at the given transform.

Directions are normalised, so a scaled entity gets a square set of axes rather than one stretched along whichever axis it happens to be scaled on.