fix collision bugs

This commit is contained in:
onezplpl 2024-07-26 21:13:42 -04:00
parent 0f38b89e1c
commit fa7bb205cc
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
2 changed files with 33 additions and 26 deletions

2
main.c
View file

@ -271,7 +271,7 @@ int main(void) {
mat4x4_perspective(p, 45.0 / 180.0 * M_PI, ratio, 0.1, 1000);
vec3 direction;
vec3_dup(direction,
control_handler(cx, cy, pos, dir_temp, window, chunk).pos);