diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-30 20:27:21 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-30 20:27:21 -0600 |
| commit | 0c3e1f450f591d871c2779504b4113daf891fd1b (patch) | |
| tree | d8d3d2698fb182d63032144961f1ebdbe2ca2262 /src/camera.c | |
| parent | 1a721b98caf7559f4a18baa8d3b92269e8f1f6ce (diff) | |
Minor performance boost + better input
Draw triangles in correct counter clock order, back face wasn't correct
Diffstat (limited to 'src/camera.c')
| -rw-r--r-- | src/camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.c b/src/camera.c index 18cfb33..7a23a17 100644 --- a/src/camera.c +++ b/src/camera.c @@ -56,7 +56,7 @@ void camera_move(struct camera *camera, enum DIRECTION move) { // Right hand rule - this will be on the righ (positive) glm_vec3_crossn(unit_direction, camera->up, unit_direction); } - float scale = 0.3f; + float scale = 0.2f; glm_vec3_scale(unit_direction, scale, unit_direction); glm_vec3_add(camera->position, unit_direction, camera->position); } |
