diff options
| author | Ray San <[email protected]> | 2018-05-04 16:54:05 +0200 |
|---|---|---|
| committer | Ray San <[email protected]> | 2018-05-04 16:54:05 +0200 |
| commit | 6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (patch) | |
| tree | 33501ec5ce20096821c54329f97189c39d83d79d /examples/others | |
| parent | 6324697ffd7fd410274599457dd9f85119510898 (diff) | |
| download | raylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.tar.gz raylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.zip | |
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
Diffstat (limited to 'examples/others')
| -rw-r--r-- | examples/others/oculus_rift.c | 4 | ||||
| -rw-r--r-- | examples/others/standard_lighting.c | 4 |
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); |
