Browse Source

RENAME: type to projection #2851

Ray 2 years ago
parent
commit
bba6ae5622
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rcamera.h

+ 1 - 1
src/rcamera.h

@@ -73,7 +73,7 @@
         Vector3 target;         // Camera target it looks-at
         Vector3 target;         // Camera target it looks-at
         Vector3 up;             // Camera up vector (rotation over its axis)
         Vector3 up;             // Camera up vector (rotation over its axis)
         float fovy;             // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
         float fovy;             // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
-        int type;               // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
+        int projection;         // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
     } Camera3D;
     } Camera3D;
 
 
     typedef Camera3D Camera;    // Camera type fallback, defaults to Camera3D
     typedef Camera3D Camera;    // Camera type fallback, defaults to Camera3D