Ray 6 lat temu
rodzic
commit
8730f22371
1 zmienionych plików z 0 dodań i 4 usunięć
  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