diff options
| author | PompPenguin <pomppenguin@gmail.com> | 2019-06-04 18:06:10 -0400 |
|---|---|---|
| committer | PompPenguin <pomppenguin@gmail.com> | 2019-06-04 18:06:10 -0400 |
| commit | 7367140fb4dfddfc7e77993a725dc3252bded920 (patch) | |
| tree | be2a66c72b133da0c4d13e74a2843413b20fbb38 /src | |
| parent | 1ba5f1515dfdee1392daed2786a510e48209051c (diff) | |
| download | raylib-7367140fb4dfddfc7e77993a725dc3252bded920.tar.gz raylib-7367140fb4dfddfc7e77993a725dc3252bded920.zip | |
Update camera.h
Removed unused code for CAMERA_THIRD_PERSON.
Diffstat (limited to 'src')
| -rw-r--r-- | src/camera.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/camera.h b/src/camera.h index 18e1e4b7..1d580a20 100644 --- a/src/camera.h +++ b/src/camera.h @@ -469,9 +469,6 @@ void UpdateCamera(Camera *camera) sinf(cameraAngle.x)*direction[MOVE_LEFT] - sinf(cameraAngle.x)*direction[MOVE_RIGHT])/PLAYER_MOVEMENT_SENSITIVITY; - bool isMoving = false; // Required for swinging - - for (int i = 0; i < 6; i++) if (direction[i]) { isMoving = true; break; } // Camera orientation calculation cameraAngle.x += (mousePositionDelta.x*-CAMERA_MOUSE_MOVE_SENSITIVITY); |
