Skip to main content

gizmo_basis

Function gizmo_basis 

pub fn gizmo_basis(mode: GizmoMode, rotation: Quaternion) -> [Vec3; 3]
Expand description

The frame the handles are drawn and dragged in for mode.

Object-aligned for GizmoMode::Scale (see the module docs), world-aligned otherwise.