Fix GetCameraRight (#3784)
This commit is contained in:
parent
e9291fa4c7
commit
6a8cc62b67
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue