Browse Source

Fix GetCameraRight (#3784)

pull/3788/head
Danil 10 months ago
committed by GitHub
parent
commit
6a8cc62b67
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcamera.h

+ 1
- 1
src/rcamera.h View File

@ -243,7 +243,7 @@ Vector3 GetCameraRight(Camera *camera)
Vector3 forward = GetCameraForward(camera);
Vector3 up = GetCameraUp(camera);
return Vector3CrossProduct(forward, up);
return Vector3Normalize(Vector3CrossProduct(forward, up));
}
// Moves the camera in its forward direction

Loading…
Cancel
Save