egui-gizmo
3d transformation gizmo built on top of the egui library.
Usage
let gizmo = new
.view_matrix
.projection_matrix
.model_matrix
.mode;
if let Some = gizmo.interact
For a more complete example, see the demo source code.
The gizmo accepts matrices as Into<[[f32; 4]; 4]>
, which means it is easy to use with matrix types from various crates
such as nalgebra, glam
and cgmath.