mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-27 08:33:26 +00:00
Update camera.h
Removed unused code for CAMERA_THIRD_PERSON.
This commit is contained in:
parent
1ba5f1515d
commit
7367140fb4
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user