summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/rcamera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcamera.h b/src/rcamera.h
index b1805c37..8e513ef1 100644
--- a/src/rcamera.h
+++ b/src/rcamera.h
@@ -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