Added set_position_rotation_scale procedures
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#load "../ui/widgets.jai";
|
||||
|
||||
#placeholder editor_ui_entity_creation;
|
||||
|
||||
pick_scene_view_at :: (camera: Camera, coordinates: Vector2) {
|
||||
ray := normalized_screen_to_ray_v2(camera, coordinates);
|
||||
|
||||
@@ -51,8 +49,8 @@ editor_ui :: () {
|
||||
|
||||
//ui_space(15, 10);
|
||||
|
||||
if ui_toolbar_button("View") {
|
||||
}
|
||||
//if ui_toolbar_button("View") {
|
||||
//}
|
||||
|
||||
ui_space(20, 0);
|
||||
|
||||
@@ -266,6 +264,10 @@ base_editor_update :: () {
|
||||
}
|
||||
}
|
||||
|
||||
if key_pressed(.CTRL) && key_down(.Z) {
|
||||
undo();
|
||||
}
|
||||
|
||||
if key_pressed(.CTRL) && key_down(.S) {
|
||||
save_scene(engine.current_scene, "../assets/scenes/");
|
||||
//show_message("Saved scene");
|
||||
|
||||
Reference in New Issue
Block a user