From 989bc0fe9d80107f1f44de647c51963e1dab79fc Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 27 Dec 2013 00:44:34 +0100 Subject: New example added Replaced ex06b (incomplete) by a new useful one --- examples/ex06b_shape_select.c | 50 ------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 examples/ex06b_shape_select.c (limited to 'examples/ex06b_shape_select.c') 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 -- cgit v1.2.3