diff options
| author | raysan5 <raysan5@gmail.com> | 2013-12-27 00:44:34 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2013-12-27 00:44:34 +0100 |
| commit | 989bc0fe9d80107f1f44de647c51963e1dab79fc (patch) | |
| tree | 0e70e90421a552f5b013c7184cf1e37fcb4b7644 /examples/ex06b_shape_select.c | |
| parent | a0d719d95f60d0b2109cebff29603625c3c3cbe1 (diff) | |
| download | raylib-989bc0fe9d80107f1f44de647c51963e1dab79fc.tar.gz raylib-989bc0fe9d80107f1f44de647c51963e1dab79fc.zip | |
New example added
Replaced ex06b (incomplete) by a new useful one
Diffstat (limited to 'examples/ex06b_shape_select.c')
| -rw-r--r-- | examples/ex06b_shape_select.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/examples/ex06b_shape_select.c b/examples/ex06b_shape_select.c deleted file mode 100644 index 1d0a6b19..00000000 --- a/examples/ex06b_shape_select.c +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************************* -* -* raylib example 06b - Shape selection by mouse (collision detection) -* -* This example has been created using raylib 1.0 (www.raylib.com) -* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) -* -* Copyright (c) 2013 Ramon Santamaria (Ray San - raysan@raysanweb.com) -* -********************************************************************************************/ - -#include "raylib.h" - -int main() -{ - // Initialization - //-------------------------------------------------------------------------------------- - int screenWidth = 800; - int screenHeight = 450; - - InitWindow(screenWidth, screenHeight, "raylib example 06b - shape selection"); - //-------------------------------------------------------------------------------------- - - // Main game loop - while (!WindowShouldClose()) // Detect window close button or ESC key - { - // Update - //---------------------------------------------------------------------------------- - // TODO: Update your variables here - //---------------------------------------------------------------------------------- - - // Draw - //---------------------------------------------------------------------------------- - BeginDrawing(); - - ClearBackground(RAYWHITE); - - // TODO: Comming soon... - - EndDrawing(); - //---------------------------------------------------------------------------------- - } - - // De-Initialization - //-------------------------------------------------------------------------------------- - CloseWindow(); // Close window and OpenGL context - //-------------------------------------------------------------------------------------- - - return 0; -}
\ No newline at end of file |
