Scene loading/saving improvements, transform gizmo, entity creation

This commit is contained in:
2024-10-19 19:45:04 +02:00
parent fae8ea7cba
commit 3d98ba0023
15 changed files with 985 additions and 460 deletions

View File

@@ -1,8 +1,8 @@
ui_full_size_background :: (identifier: s64 = 0, loc := #caller_location) {
ui_full_size_background :: (color: Color = .{0,0,0,1}, identifier: s64 = 0, loc := #caller_location) {
ui_set_next_size_x(.PIXELS, xx engine.renderer.render_target_width);
ui_set_next_size_y(.PIXELS, xx engine.renderer.render_target_height);
ui_set_next_background_color(.{0.0, 0.0, 0.0, 1.0});
ui_set_next_background_color(color);
background := ui_box_make(.DRAW_BACKGROUND, hash=get_hash(loc, identifier));
}