Stop rendering temp bundles

This commit is contained in:
Edgaru089 2024-03-30 22:45:12 +08:00
parent 73d10b343f
commit 1908234213

View File

@ -73,20 +73,13 @@ void app_Render(App *app) {
} }
} }
static FillMode mode_rotate = {
.rotate = Duration{.microseconds = 100 * 1000}};
setfillcolor(RGB(255, 255, 255)); setfillcolor(RGB(255, 255, 255));
setbkcolor(RGB(0, 0, 0)); setbkcolor(RGB(0, 0, 0));
render_SetModes(mode_rotate, since); render_SetModes(render_ModeRotate, since);
render_FillCircleW(app, vec2(200, 100), 20); render_FillCircleW(app, vec2(200, 100), 20);
// render_DrawBundleW(app, render_FindBundle("info_plate"), vec2(600, 550));
render_DrawBundleW(app, render_FindBundle("info_plate_small_1"), vec2(250, 200));
render_DrawBundleW(app, render_FindBundle("info_plate_small_2"), vec2(750, 200));
// Draw entities // Draw entities
for (tree_Node *i = tree_FirstNode(app->entity->entities); for (tree_Node *i = tree_FirstNode(app->entity->entities);
i != NULL; i != NULL;