summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-10-12 20:23:46 +0200
committerraysan5 <[email protected]>2021-10-12 20:23:46 +0200
commit670eab8b17780bb33a671fc3474fc23d8588475d (patch)
tree8eb1d7912a3d62133d39833937adf069b1abb5a8 /examples
parent252bd2273880e9cc94933099df96ee712f5bdf9c (diff)
downloadraylib-670eab8b17780bb33a671fc3474fc23d8588475d.tar.gz
raylib-670eab8b17780bb33a671fc3474fc23d8588475d.zip
Review comments
Diffstat (limited to 'examples')
-rw-r--r--examples/models/models_skybox.c3
-rw-r--r--examples/models/models_yaw_pitch_roll.c7
2 files changed, 6 insertions, 4 deletions
diff --git a/examples/models/models_skybox.c b/examples/models/models_skybox.c
index 168d61f6..dd202617 100644
--- a/examples/models/models_skybox.c
+++ b/examples/models/models_skybox.c
@@ -10,8 +10,9 @@
********************************************************************************************/
#include "raylib.h"
+
#include "rlgl.h"
-#include "raymath.h"
+#include "raymath.h" // Required for: MatrixPerspective(), MatrixLookAt()
#if defined(PLATFORM_DESKTOP)
#define GLSL_VERSION 330
diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c
index 70fe8477..5731c4df 100644
--- a/examples/models/models_yaw_pitch_roll.c
+++ b/examples/models/models_yaw_pitch_roll.c
@@ -7,12 +7,13 @@
*
* Example contributed by Berni (@Berni8k) and reviewed by Ramon Santamaria (@raysan5)
*
-* Copyright (c) 2017 Berni (@Berni8k) and Ramon Santamaria (@raysan5)
+* Copyright (c) 2017-2021 Berni (@Berni8k) and Ramon Santamaria (@raysan5)
*
********************************************************************************************/
#include "raylib.h"
-#include "raymath.h"
+
+#include "raymath.h" // Required for: MatrixRotateXYZ()
int main(void)
{
@@ -33,7 +34,7 @@ int main(void)
// Model loading
// NOTE: Diffuse map loaded automatically
- Model model = LoadModel("resources/plane/plane.gltf");
+ Model model = LoadModel("resources/models/gltf/plane/plane.gltf");
float pitch = 0.0f;
float roll = 0.0f;