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/models | |
| parent | 8bd3ecaa66a2a13dca9f7b3532b2c8b1298b206b (diff) | |
| download | raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.tar.gz raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.zip | |
Added new comment to examples
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_animation.c | 4 | ||||
| -rw-r--r-- | examples/models/models_billboard.c | 3 | ||||
| -rw-r--r-- | examples/models/models_box_collisions.c | 3 | ||||
| -rw-r--r-- | examples/models/models_cubicmap.c | 3 | ||||
| -rw-r--r-- | examples/models/models_first_person_maze.c | 3 | ||||
| -rw-r--r-- | examples/models/models_geometric_shapes.c | 3 | ||||
| -rw-r--r-- | examples/models/models_heightmap.c | 3 | ||||
| -rw-r--r-- | examples/models/models_loading.c | 3 | ||||
| -rw-r--r-- | examples/models/models_loading_gltf.c | 3 | ||||
| -rw-r--r-- | examples/models/models_loading_vox.c | 3 | ||||
| -rw-r--r-- | examples/models/models_mesh_generation.c | 3 | ||||
| -rw-r--r-- | examples/models/models_mesh_picking.c | 3 | ||||
| -rw-r--r-- | examples/models/models_orthographic_projection.c | 3 | ||||
| -rw-r--r-- | examples/models/models_skybox.c | 3 | ||||
| -rw-r--r-- | examples/models/models_waving_cubes.c | 5 | ||||
| -rw-r--r-- | examples/models/models_yaw_pitch_roll.c | 3 |
16 files changed, 49 insertions, 2 deletions
diff --git a/examples/models/models_animation.c b/examples/models/models_animation.c index 2f5ae266..8055d64f 100644 --- a/examples/models/models_animation.c +++ b/examples/models/models_animation.c @@ -21,7 +21,9 @@ #include <stdlib.h> - +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_billboard.c b/examples/models/models_billboard.c index 0a7e878b..30c328f2 100644 --- a/examples/models/models_billboard.c +++ b/examples/models/models_billboard.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_box_collisions.c b/examples/models/models_box_collisions.c index 7a937ea7..f451119a 100644 --- a/examples/models/models_box_collisions.c +++ b/examples/models/models_box_collisions.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_cubicmap.c b/examples/models/models_cubicmap.c index 0a566581..24c6dd7b 100644 --- a/examples/models/models_cubicmap.c +++ b/examples/models/models_cubicmap.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_first_person_maze.c b/examples/models/models_first_person_maze.c index 08a9b5cf..e4689f59 100644 --- a/examples/models/models_first_person_maze.c +++ b/examples/models/models_first_person_maze.c @@ -13,6 +13,9 @@ #include <stdlib.h> // Required for: free() +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_geometric_shapes.c b/examples/models/models_geometric_shapes.c index c1feb802..0ac61f2d 100644 --- a/examples/models/models_geometric_shapes.c +++ b/examples/models/models_geometric_shapes.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_heightmap.c b/examples/models/models_heightmap.c index 03479a9b..2a365c71 100644 --- a/examples/models/models_heightmap.c +++ b/examples/models/models_heightmap.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_loading.c b/examples/models/models_loading.c index ee3811ee..c691b7c5 100644 --- a/examples/models/models_loading.c +++ b/examples/models/models_loading.c @@ -22,6 +22,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_loading_gltf.c b/examples/models/models_loading_gltf.c index fe79afec..15138e38 100644 --- a/examples/models/models_loading_gltf.c +++ b/examples/models/models_loading_gltf.c @@ -20,6 +20,9 @@ #define MAX_GLTF_MODELS 8 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_loading_vox.c b/examples/models/models_loading_vox.c index dca17590..6144a513 100644 --- a/examples/models/models_loading_vox.c +++ b/examples/models/models_loading_vox.c @@ -17,6 +17,9 @@ #define MAX_VOX_FILES 3 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_mesh_generation.c b/examples/models/models_mesh_generation.c index 7213f58d..2d9afcca 100644 --- a/examples/models/models_mesh_generation.c +++ b/examples/models/models_mesh_generation.c @@ -15,6 +15,9 @@ static Mesh GenMeshCustom(void); // Generate a simple triangle mesh from code +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c index 38378bc4..7cd51d98 100644 --- a/examples/models/models_mesh_picking.c +++ b/examples/models/models_mesh_picking.c @@ -16,6 +16,9 @@ #define FLT_MAX 340282346638528859811704183484516925440.0f // Maximum value of a float, from bit pattern 01111111011111111111111111111111 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_orthographic_projection.c b/examples/models/models_orthographic_projection.c index 7dd5fde2..c38d1816 100644 --- a/examples/models/models_orthographic_projection.c +++ b/examples/models/models_orthographic_projection.c @@ -18,6 +18,9 @@ #define FOVY_PERSPECTIVE 45.0f #define WIDTH_ORTHOGRAPHIC 10.0f +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_skybox.c b/examples/models/models_skybox.c index 2c03220b..6567cf25 100644 --- a/examples/models/models_skybox.c +++ b/examples/models/models_skybox.c @@ -23,6 +23,9 @@ // Generate cubemap (6 faces) from equirectangular (panorama) texture static TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int size, int format); +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/models/models_waving_cubes.c b/examples/models/models_waving_cubes.c index 13f098b9..e21db102 100644 --- a/examples/models/models_waving_cubes.c +++ b/examples/models/models_waving_cubes.c @@ -13,8 +13,11 @@ #include "raylib.h" -#include <math.h> +#include <math.h> // Required for: sinf() +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main() { // Initialization diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c index d9d4b9c7..009a825f 100644 --- a/examples/models/models_yaw_pitch_roll.c +++ b/examples/models/models_yaw_pitch_roll.c @@ -15,6 +15,9 @@ #include "raymath.h" // Required for: MatrixRotateXYZ() +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization |
