瀏覽代碼

Merge pull request #867 from PompPenguin/master

Removed unused code for CAMERA_THIRD_PERSON
pull/870/head
Ray 5 年之前
committed by GitHub
父節點
當前提交
5c8191f8a7
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. +0
    -3
      src/camera.h

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

@ -469,9 +469,6 @@ void UpdateCamera(Camera *camera)
sinf(cameraAngle.x)*direction[MOVE_LEFT] -
sinf(cameraAngle.x)*direction[MOVE_RIGHT])/PLAYER_MOVEMENT_SENSITIVITY;
bool isMoving = false; // Required for swinging
for (int i = 0; i < 6; i++) if (direction[i]) { isMoving = true; break; }
// Camera orientation calculation
cameraAngle.x += (mousePositionDelta.x*-CAMERA_MOUSE_MOVE_SENSITIVITY);

Loading…
取消
儲存