Improve anti aliasing

This commit is contained in:
Hugo Mårdbrink 2025-08-27 20:55:04 +02:00
parent e1e480daf2
commit db75a10f2b
4 changed files with 7 additions and 6 deletions

View file

@ -140,6 +140,7 @@ create_cube :: proc() {
rotation = ecs.Vec3{ 0.0, 0.0, 0.0 },
scale = ecs.Vec3{ 1.0, 1.0, 1.0 },
})
ecs.coordinator_add_component(
ecs.ColorComponent,
&g.coordinator,
@ -223,7 +224,7 @@ create_scene :: proc() {
ecs.InputComponent{
key_down = {},
mouse_movement = Vec2{ 0, 0 }
})
})
ecs.render_system_init(g.render_system, user_entity)
}