Update rmodels.c

This commit is contained in:
Ray 2026-06-24 10:38:20 +02:00
parent ba3b8f8370
commit d1a14bee5d

View File

@ -3142,8 +3142,8 @@ Mesh GenMeshCone(float radius, float height, int slices)
} }
// Generate torus mesh // Generate torus mesh
// The distance between the center of the hole and the center of the tube is half of size // NOTE: The distance between the center of the hole and the center of the
// The radius of the tube is (radius * size / 2) // tube is half size of the radius of the tube (radius*size/2)
Mesh GenMeshTorus(float radius, float size, int radSeg, int sides) Mesh GenMeshTorus(float radius, float size, int radSeg, int sides)
{ {
Mesh mesh = { 0 }; Mesh mesh = { 0 };