diff options
| author | Ray <[email protected]> | 2022-06-21 19:53:18 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-21 19:53:18 +0200 |
| commit | c1b01c0d5d2f2bb5108df910b2376d45314e7335 (patch) | |
| tree | 02b65387eacae0324a3ff28851fa43d78cd6fb09 /examples/shapes | |
| parent | 8bd3ecaa66a2a13dca9f7b3532b2c8b1298b206b (diff) | |
| download | raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.tar.gz raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.zip | |
Added new comment to examples
Diffstat (limited to 'examples/shapes')
| -rw-r--r-- | examples/shapes/shapes_basic_shapes.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_bouncing_ball.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_collision_area.c | 6 | ||||
| -rw-r--r-- | examples/shapes/shapes_colors_palette.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_draw_circle_sector.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_draw_rectangle_rounded.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_draw_ring.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_easings_ball_anim.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_easings_box_anim.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_easings_rectangle_array.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_following_eyes.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_lines_bezier.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_logo_raylib.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_logo_raylib_anim.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_rectangle_scaling.c | 3 | ||||
| -rw-r--r-- | examples/shapes/shapes_top_down_lights.c | 3 |
16 files changed, 50 insertions, 1 deletions
diff --git a/examples/shapes/shapes_basic_shapes.c b/examples/shapes/shapes_basic_shapes.c index 7b48d436..c939765c 100644 --- a/examples/shapes/shapes_basic_shapes.c +++ b/examples/shapes/shapes_basic_shapes.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_bouncing_ball.c b/examples/shapes/shapes_bouncing_ball.c index 1f8ab8d9..81817d77 100644 --- a/examples/shapes/shapes_bouncing_ball.c +++ b/examples/shapes/shapes_bouncing_ball.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_collision_area.c b/examples/shapes/shapes_collision_area.c index c5946b63..a8a7fb97 100644 --- a/examples/shapes/shapes_collision_area.c +++ b/examples/shapes/shapes_collision_area.c @@ -10,8 +10,12 @@ ********************************************************************************************/ #include "raylib.h" -#include <stdlib.h> // Required for abs() +#include <stdlib.h> // Required for: abs() + +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_colors_palette.c b/examples/shapes/shapes_colors_palette.c index e9bbad76..f5fa9b95 100644 --- a/examples/shapes/shapes_colors_palette.c +++ b/examples/shapes/shapes_colors_palette.c @@ -13,6 +13,9 @@ #define MAX_COLORS_COUNT 21 // Number of colors available +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_draw_circle_sector.c b/examples/shapes/shapes_draw_circle_sector.c index d605209a..9b3160b9 100644 --- a/examples/shapes/shapes_draw_circle_sector.c +++ b/examples/shapes/shapes_draw_circle_sector.c @@ -16,6 +16,9 @@ #define RAYGUI_IMPLEMENTATION #include "raygui.h" // Required for GUI controls +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_draw_rectangle_rounded.c b/examples/shapes/shapes_draw_rectangle_rounded.c index b7b1151e..f8e4aab5 100644 --- a/examples/shapes/shapes_draw_rectangle_rounded.c +++ b/examples/shapes/shapes_draw_rectangle_rounded.c @@ -16,6 +16,9 @@ #define RAYGUI_IMPLEMENTATION #include "raygui.h" // Required for GUI controls +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_draw_ring.c b/examples/shapes/shapes_draw_ring.c index cb697d5e..e7974a7d 100644 --- a/examples/shapes/shapes_draw_ring.c +++ b/examples/shapes/shapes_draw_ring.c @@ -16,6 +16,9 @@ #define RAYGUI_IMPLEMENTATION #include "raygui.h" // Required for GUI controls +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_easings_ball_anim.c b/examples/shapes/shapes_easings_ball_anim.c index 71caa0b7..cebded7e 100644 --- a/examples/shapes/shapes_easings_ball_anim.c +++ b/examples/shapes/shapes_easings_ball_anim.c @@ -13,6 +13,9 @@ #include "easings.h" // Required for easing functions +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_easings_box_anim.c b/examples/shapes/shapes_easings_box_anim.c index 1bcf279d..62d05117 100644 --- a/examples/shapes/shapes_easings_box_anim.c +++ b/examples/shapes/shapes_easings_box_anim.c @@ -13,6 +13,9 @@ #include "easings.h" // Required for easing functions +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_easings_rectangle_array.c b/examples/shapes/shapes_easings_rectangle_array.c index 4d4ad8e9..70de753d 100644 --- a/examples/shapes/shapes_easings_rectangle_array.c +++ b/examples/shapes/shapes_easings_rectangle_array.c @@ -24,6 +24,9 @@ #define PLAY_TIME_IN_FRAMES 240 // At 60 fps = 4 seconds +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_following_eyes.c b/examples/shapes/shapes_following_eyes.c index 9ded4feb..955121ae 100644 --- a/examples/shapes/shapes_following_eyes.c +++ b/examples/shapes/shapes_following_eyes.c @@ -13,6 +13,9 @@ #include <math.h> // Required for: atan2f() +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_lines_bezier.c b/examples/shapes/shapes_lines_bezier.c index 634eb284..68e5c6a6 100644 --- a/examples/shapes/shapes_lines_bezier.c +++ b/examples/shapes/shapes_lines_bezier.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_logo_raylib.c b/examples/shapes/shapes_logo_raylib.c index 3e2d343f..bdf105eb 100644 --- a/examples/shapes/shapes_logo_raylib.c +++ b/examples/shapes/shapes_logo_raylib.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_logo_raylib_anim.c b/examples/shapes/shapes_logo_raylib_anim.c index f91b6c7d..0cf90b00 100644 --- a/examples/shapes/shapes_logo_raylib_anim.c +++ b/examples/shapes/shapes_logo_raylib_anim.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_rectangle_scaling.c b/examples/shapes/shapes_rectangle_scaling.c index 76b54c09..61154c81 100644 --- a/examples/shapes/shapes_rectangle_scaling.c +++ b/examples/shapes/shapes_rectangle_scaling.c @@ -15,6 +15,9 @@ #define MOUSE_SCALE_MARK_SIZE 12 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/shapes/shapes_top_down_lights.c b/examples/shapes/shapes_top_down_lights.c index 5234c28c..74bb2c60 100644 --- a/examples/shapes/shapes_top_down_lights.c +++ b/examples/shapes/shapes_top_down_lights.c @@ -206,6 +206,9 @@ void SetupBoxes(Rectangle *boxes, int *count) *count = MAX_BOXES; } +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization |
