Skip to content

Commit

Permalink
fix egui-gizmo conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Dec 27, 2023
1 parent 605077f commit c908e63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy-inspector-egui/examples/integrations/egui_dock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ fn draw_gizmo(
let model_matrix = transform.compute_matrix();

let Some(result) = Gizmo::new(selected)
.model_matrix(model_matrix.to_cols_array_2d())
.view_matrix(view_matrix.to_cols_array_2d())
.projection_matrix(projection_matrix.to_cols_array_2d())
.model_matrix(model_matrix.into())
.view_matrix(view_matrix.into())
.projection_matrix(projection_matrix.into())
.orientation(GizmoOrientation::Local)
.mode(gizmo_mode)
.interact(ui)
Expand Down

0 comments on commit c908e63

Please sign in to comment.