UI clean-up
This commit is contained in:
@@ -31,8 +31,6 @@ pick_scene_view_at :: (camera: Camera, coordinates: Vector2) {
|
||||
}
|
||||
}
|
||||
|
||||
test := false;
|
||||
|
||||
editor_ui :: () {
|
||||
// Scene picking
|
||||
if !ui_mouse_over_window() {
|
||||
@@ -57,7 +55,6 @@ editor_ui :: () {
|
||||
}
|
||||
|
||||
ui_window_begin("Entities", 1, 5, 200, 600);
|
||||
ui_checkbox(*test);
|
||||
if engine.current_scene != null {
|
||||
for engine.current_scene.entities {
|
||||
if it.flags & .DELETED continue;
|
||||
@@ -122,10 +119,6 @@ editor_ui :: () {
|
||||
|
||||
if engine.editor.selected_entities.count == 1 {
|
||||
entity := engine.editor.selected_entities[0];
|
||||
//ui_slider(*slider_value, 0.0, 1.0);
|
||||
|
||||
//ui_label(tprint("Id: %", entity.id));
|
||||
|
||||
//updated := ui_vector_field("Position", *entity.transform.position);
|
||||
//euler_rotation := quaternion_to_euler_v3(entity.transform.orientation);
|
||||
//euler_rotation *= RADIANS_TO_DEGREES;
|
||||
@@ -137,7 +130,6 @@ editor_ui :: () {
|
||||
//if updated {
|
||||
// update_matrix(*entity.transform);
|
||||
//}
|
||||
|
||||
entity_ui(entity);
|
||||
}
|
||||
ui_window_end();
|
||||
|
||||
Reference in New Issue
Block a user