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/core/core_world_screen.c | |
| 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/core/core_world_screen.c')
| -rw-r--r-- | examples/core/core_world_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core/core_world_screen.c b/examples/core/core_world_screen.c index 78ca6eb4..460f6b85 100644 --- a/examples/core/core_world_screen.c +++ b/examples/core/core_world_screen.c @@ -54,14 +54,14 @@ int main() ClearBackground(RAYWHITE); - Begin3dMode(camera); + BeginMode3D(camera); DrawCube(cubePosition, 2.0f, 2.0f, 2.0f, RED); DrawCubeWires(cubePosition, 2.0f, 2.0f, 2.0f, MAROON); DrawGrid(10, 1.0f); - End3dMode(); + EndMode3D(); DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100 / 100", 20) / 2, cubeScreenPosition.y, 20, BLACK); DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20)) / 2, 25, 20, GRAY); |
