Merge branch 'raysan5:master' into master

This commit is contained in:
Jon Daniel 2025-08-27 23:26:45 +02:00 • committed by GitHub
commit ad75005015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 6569 additions and 1954 deletions

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Load 3d model with animations and play them
* raylib [models] example - model animation
*
* Example complexity rating: [★★☆☆] 2/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Drawing billboards
* raylib [models] example - billboard render
*
* Example complexity rating: [★★★☆] 3/4
*
@ -26,7 +26,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - drawing billboards");
InitWindow(screenWidth, screenHeight, "raylib [models] example - billboard render");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - Using bones as socket for calculating the positioning of something
* raylib [models] example - bone socket
*
* Example complexity rating: [★★★★] 4/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Detect basic 3d collisions (box vs sphere vs box)
* raylib [models] example - box collisions
*
* Example complexity rating: [★☆☆☆] 1/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Cubicmap loading and drawing
* raylib [models] example - cubicmap loading and drawing
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -25,7 +25,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - cubesmap loading and drawing");
InitWindow(screenWidth, screenHeight, "raylib [models] example - cubicmap loading and drawing");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Draw textured cube
* raylib [models] example - draw cube texture
*
* Example complexity rating: [★★☆☆] 2/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Draw some basic geometric shapes (cube, sphere, cylinder...)
* raylib [models] example - geometric shapes
*
* Example complexity rating: [★☆☆☆] 1/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - Doing skinning on the gpu using a vertex shader
* raylib [models] example - gpu skinning
*
* Example complexity rating: [★★★☆] 3/4
*
@ -37,7 +37,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - GPU skinning");
InitWindow(screenWidth, screenHeight, "raylib [models] example - gpu skinning");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Heightmap loading and drawing
* raylib [models] example - heightmap terrain
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -25,7 +25,7 @@ int main(void)
int screenWidth = 800;
int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - heightmap loading and drawing");
InitWindow(screenWidth, screenHeight, "raylib [models] example - heightmap terrain");
// Define our custom camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Models loading
* raylib [models] example - models loading
*
* Example complexity rating: [★☆☆☆] 1/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - loading gltf with animations
* raylib [models] example - loading gltf animations
*
* Example complexity rating: [★☆☆☆] 1/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Load models M3D
* raylib [models] example - model loading m3d
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -31,7 +31,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - M3D model loading");
InitWindow(screenWidth, screenHeight, "raylib [models] example - model loading m3d");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Load models vox (MagicaVoxel)
* raylib [models] example - magicavoxel loading
*
* Example complexity rating: [★☆☆☆] 1/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - procedural mesh generation
* raylib [models] example - mesh generation
*
* Example complexity rating: [★★☆☆] 2/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Mesh picking in 3d mode, ground plane, triangle, mesh
* raylib [models] example - mesh picking
*
* Example complexity rating: [★★★☆] 3/4
*
@ -89,7 +89,7 @@ int main(void)
// Display information about closest hit
RayCollision collision = { 0 };
char *hitObjectName = "None";
const char *hitObjectName = "None";
collision.distance = FLT_MAX;
collision.hit = false;
Color cursorColor = WHITE;

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Show the difference between perspective and orthographic projection
* raylib [models] example - orthographic projection
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -30,7 +30,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - geometric shapes");
InitWindow(screenWidth, screenHeight, "raylib [models] example - orthographic projection");
// Define the camera to look into our 3d world
Camera camera = { { 0.0f, 10.0f, 10.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, FOVY_PERSPECTIVE, CAMERA_PERSPECTIVE };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib example - point rendering
* raylib [models] example - point rendering
*
* Example complexity rating: [★★★☆] 3/4
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Skybox loading and drawing
* raylib [models] example - skybox rendering
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -37,7 +37,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [models] example - skybox loading and drawing");
InitWindow(screenWidth, screenHeight, "raylib [models] example - skybox rendering");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Tesseract view
* raylib [models] example - tesseract view
*
* NOTE: This example only works on platforms that support drag & drop (Windows, Linux, OSX, Html5?)
*

View file

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [models] example - Waving cubes
* raylib [models] example - waving cubes
*
* Example complexity rating: [★★★☆] 3/4
*

Some files were not shown because too many files have changed in this diff Show more