Textfield time

This commit is contained in:
2024-10-20 00:46:44 +02:00
parent 3d98ba0023
commit 89c95c0656
6 changed files with 253 additions and 77 deletions

View File

@@ -328,6 +328,11 @@ update_transform_gizmo :: (ray: Ray, mouse_position: Vector2) -> bool {
}
position_change := new_position - engine.editor.transform_gizmo.first_hit_position;
// @Robustness: Why though?
position_change.z *= -1.0;
position_change.y *= -1.0;
scale_speed := ifx key_pressed(.SHIFT) then 4.0 else 1.0;
if selected_entity.flags & .UNIFORM_SCALE {