aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-07-16 17:53:47 +0200
committerRay <raysan5@gmail.com>2018-07-16 17:53:47 +0200
commit096fd6f2c3d56214fecf17c4f60df79801dfbffe (patch)
treeb560a62e5f9b5aecd9e2cb7a6ea1de9e2b2c9880 /examples
parent40551958dd94ae19fb30225d1c180aaa82e39d7c (diff)
downloadraylib-096fd6f2c3d56214fecf17c4f60df79801dfbffe.tar.gz
raylib-096fd6f2c3d56214fecf17c4f60df79801dfbffe.zip
Converted rlgl module in header-only
This change allows rlgl.h usage as independent single-file header-only module... still some tweaks required, like removing GLAD dependency... required extensions could be manually loaded! Also removed shader_distortion.h, embedded in rlgl.h
Diffstat (limited to 'examples')
-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 };