瀏覽代碼

Fix GetCameraRight (#3784)

pull/3788/head
Danil 1 年之前
committed by GitHub
父節點
當前提交
6a8cc62b67
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rcamera.h

+ 1
- 1
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

Loading…
取消
儲存