summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-01-10 12:16:42 +0100
committerRay <[email protected]>2023-01-10 12:16:42 +0100
commitbba6ae562238299f07b7f83f1278fc279eb21fd5 (patch)
tree4bd3e663f59705fbcfe83f6dd23a79c0aa774e78 /src
parentce8000ee7e3c1e07bd747e71872200311038d090 (diff)
downloadraylib-bba6ae562238299f07b7f83f1278fc279eb21fd5.tar.gz
raylib-bba6ae562238299f07b7f83f1278fc279eb21fd5.zip
RENAME: type to projection #2851
Diffstat (limited to 'src')
-rw-r--r--src/rcamera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcamera.h b/src/rcamera.h
index 92c3c49a..1b77e19a 100644
--- a/src/rcamera.h
+++ b/src/rcamera.h
@@ -73,7 +73,7 @@
Vector3 target; // Camera target it looks-at
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
- 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;
typedef Camera3D Camera; // Camera type fallback, defaults to Camera3D