summaryrefslogtreecommitdiffhomepage
path: root/examples/core_3d_camera_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/core_3d_camera_free.c')
-rw-r--r--examples/core_3d_camera_free.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/examples/core_3d_camera_free.c b/examples/core_3d_camera_free.c
index 234c46b3..fa7ad85f 100644
--- a/examples/core_3d_camera_free.c
+++ b/examples/core_3d_camera_free.c
@@ -59,13 +59,16 @@ int main()
DrawGrid(10, 1.0f);
End3dMode();
-
- DrawText("Free camera default controls:", 20, 20, 10, GRAY);
- DrawText("- Mouse Wheel to Zoom in-out", 40, 50, 10, DARKGRAY);
- DrawText("- Mouse Wheel Pressed to Pan", 40, 70, 10, DARKGRAY);
- DrawText("- Alt + Mouse Wheel Pressed to Rotate", 40, 90, 10, DARKGRAY);
- DrawText("- Alt + Ctrl + Mouse Wheel Pressed for Smooth Zoom", 40, 110, 10, DARKGRAY);
- DrawText("- Z to zoom to (0, 0, 0)", 40, 130, 10, DARKGRAY);
+
+ DrawRectangle( 10, 10, 320, 133, Fade(SKYBLUE, 0.5f));
+ DrawRectangleLines( 10, 10, 320, 133, BLUE);
+
+ DrawText("Free camera default controls:", 20, 20, 10, BLACK);
+ DrawText("- Mouse Wheel to Zoom in-out", 40, 40, 10, DARKGRAY);
+ DrawText("- Mouse Wheel Pressed to Pan", 40, 60, 10, DARKGRAY);
+ DrawText("- Alt + Mouse Wheel Pressed to Rotate", 40, 80, 10, DARKGRAY);
+ DrawText("- Alt + Ctrl + Mouse Wheel Pressed for Smooth Zoom", 40, 100, 10, DARKGRAY);
+ DrawText("- Z to zoom to (0, 0, 0)", 40, 120, 10, DARKGRAY);
EndDrawing();
//----------------------------------------------------------------------------------