Improve anti aliasing
This commit is contained in:
parent
e1e480daf2
commit
db75a10f2b
4 changed files with 7 additions and 6 deletions
|
|
@ -3,8 +3,6 @@ package ecs
|
|||
import "core:math"
|
||||
import "core:math/linalg"
|
||||
|
||||
import sa "../sokol/app"
|
||||
|
||||
CameraSystem :: struct {
|
||||
using base: SystemBase,
|
||||
}
|
||||
|
|
@ -19,8 +17,6 @@ camera_system_update :: proc(camera_system: ^CameraSystem, coordinator: ^Coordin
|
|||
camera := coordinator_get_component(CameraComponent, coordinator, entity)
|
||||
input := coordinator_get_component(InputComponent, coordinator, entity)
|
||||
|
||||
if input.key_down[.ESCAPE] do sa.quit()
|
||||
|
||||
move_input: Vec3
|
||||
if input.key_down[.W] do move_input.y = 1
|
||||
else if input.key_down[.S] do move_input.y = -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue