瀏覽代碼

Remove note

pull/915/head
Ray 5 年之前
父節點
當前提交
8730f22371
共有 1 個檔案被更改,包括 0 行新增4 行删除
  1. +0
    -4
      src/camera.h

+ 0
- 4
src/camera.h 查看文件

@ -251,10 +251,6 @@ void SetCameraMode(Camera camera, int mode)
cameraAngle.x = asinf( (float)fabs(dx)/distance.x); // Camera angle in plane XZ (0 aligned with Z, move positive CCW)
cameraAngle.y = -asinf( (float)fabs(dy)/distance.y); // Camera angle in plane XY (0 aligned with X, move positive CW)
// NOTE: Just testing what cameraAngle means
//cameraAngle.x = 0.0f*DEG2RAD; // Camera angle in plane XZ (0 aligned with Z, move positive CCW)
//cameraAngle.y = -60.0f*DEG2RAD; // Camera angle in plane XY (0 aligned with X, move positive CW)
playerEyesPosition = camera.position.y;
// Lock cursor for first person and third person cameras

Loading…
取消
儲存