Added updateMassAndInertia call

This commit is contained in:
2025-07-22 11:37:22 +02:00
parent a5bde6194a
commit 487175f126
2 changed files with 7 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ update_transform_gizmo :: (ray: Ray, mouse_position: Vector2) -> bool {
r1 : Ray;
r1.origin = selected_entity.transform.position;
r1.direction = axis_vec;//rotate(axis_vec, engine.editor.transform_gizmo.transform.orientation);
r1.direction = axis_vec;
r2 := normalized_screen_to_ray(*engine.editor.camera, mouse_position);