summaryrefslogtreecommitdiffhomepage
path: root/examples/others
diff options
context:
space:
mode:
Diffstat (limited to 'examples/others')
-rw-r--r--examples/others/oculus_rift.c4
-rw-r--r--examples/others/standard_lighting.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/others/oculus_rift.c b/examples/others/oculus_rift.c
index af2a87c1..cdfa5f11 100644
--- a/examples/others/oculus_rift.c
+++ b/examples/others/oculus_rift.c
@@ -151,14 +151,14 @@ int main()
if (vrDeviceReady) BeginOculusDrawing();
else BeginVrDrawing();
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawCube(cubePosition, 2.0f, 2.0f, 2.0f, RED);
DrawCubeWires(cubePosition, 2.0f, 2.0f, 2.0f, MAROON);
DrawGrid(40, 1.0f);
- End3dMode();
+ EndMode3D();
if (vrDeviceReady) EndOculusDrawing();
else EndVrDrawing();
diff --git a/examples/others/standard_lighting.c b/examples/others/standard_lighting.c
index a7f634e2..f450a2a5 100644
--- a/examples/others/standard_lighting.c
+++ b/examples/others/standard_lighting.c
@@ -159,7 +159,7 @@ int main()
ClearBackground(RAYWHITE);
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawModel(dwarf, position, 2.0f, WHITE); // Draw 3d model with texture
@@ -169,7 +169,7 @@ int main()
DrawGrid(10, 1.0f); // Draw a grid
- End3dMode();
+ EndMode3D();
DrawText("(c) Dwarf 3D model by David Moreno", screenWidth - 200, screenHeight - 20, 10, GRAY);