summaryrefslogtreecommitdiffhomepage
path: root/examples/core
diff options
context:
space:
mode:
Diffstat (limited to 'examples/core')
-rw-r--r--examples/core/core_vr_simulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c
index 35136114..3f59e839 100644
--- a/examples/core/core_vr_simulator.c
+++ b/examples/core/core_vr_simulator.c
@@ -31,6 +31,7 @@ int main()
camera.target = (Vector3){ 0.0f, 2.0f, 0.0f }; // Camera looking at point
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target)
camera.fovy = 60.0f; // Camera field-of-view Y
+ camera.type = CAMERA_PERSPECTIVE; // Camera type
Vector3 cubePosition = { 0.0f, 0.0f, 0.0f };