summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders
diff options
context:
space:
mode:
authorRay San <[email protected]>2018-05-04 16:54:05 +0200
committerRay San <[email protected]>2018-05-04 16:54:05 +0200
commit6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (patch)
tree33501ec5ce20096821c54329f97189c39d83d79d /examples/shaders
parent6324697ffd7fd410274599457dd9f85119510898 (diff)
downloadraylib-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/shaders')
-rw-r--r--examples/shaders/shaders_custom_uniform.c4
-rw-r--r--examples/shaders/shaders_model_shader.c4
-rw-r--r--examples/shaders/shaders_postprocessing.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/shaders/shaders_custom_uniform.c b/examples/shaders/shaders_custom_uniform.c
index 4e160455..ddee4187 100644
--- a/examples/shaders/shaders_custom_uniform.c
+++ b/examples/shaders/shaders_custom_uniform.c
@@ -85,13 +85,13 @@ int main()
BeginTextureMode(target); // Enable drawing to texture
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawModel(dwarf, position, 2.0f, WHITE); // Draw 3d model with texture
DrawGrid(10, 1.0f); // Draw a grid
- End3dMode();
+ EndMode3D();
DrawText("TEXT DRAWN IN RENDER TEXTURE", 200, 10, 30, RED);
diff --git a/examples/shaders/shaders_model_shader.c b/examples/shaders/shaders_model_shader.c
index 51acc836..3ce9c6a3 100644
--- a/examples/shaders/shaders_model_shader.c
+++ b/examples/shaders/shaders_model_shader.c
@@ -66,13 +66,13 @@ int main()
ClearBackground(RAYWHITE);
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawModel(dwarf, position, 2.0f, WHITE); // Draw 3d model with texture
DrawGrid(10, 1.0f); // Draw a grid
- End3dMode();
+ EndMode3D();
DrawText("(c) Dwarf 3D model by David Moreno", screenWidth - 200, screenHeight - 20, 10, GRAY);
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index 5eeda896..80660d68 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -130,13 +130,13 @@ int main()
BeginTextureMode(target); // Enable drawing to texture
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawModel(dwarf, position, 2.0f, WHITE); // Draw 3d model with texture
DrawGrid(10, 1.0f); // Draw a grid
- End3dMode();
+ EndMode3D();
EndTextureMode(); // End drawing to texture (now we have a texture available for next passes)