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…
Откажи
Сачувај