Update rmodels.c
This commit is contained in:
parent
ba3b8f8370
commit
d1a14bee5d
|
|
@ -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 };
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user