Scene loading/saving improvements, transform gizmo, entity creation
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user