Expand description
Parametric 3D Geometry Generators: Box, Sphere, Plane, Cylinder, and Custom Buffers.
Structs§
- Mesh
Buffers - Generated GPU mesh buffers (interleaved vertices and index list).
- Vertex3D
- An interleaved 3D vertex with position, normal, and UV coordinates.
Constants§
- TEXTURED_
VERTEX_ STRIDE - Interleaved float stride of the textured custom vertex layout.
Functions§
- generate_
box - Generates a 3D Box (cube) with distinct face normals (24 vertices, 36 indices).
- generate_
custom - Wraps arbitrary flat vertices into MeshBuffers.
- generate_
custom_ textured - Builds mesh buffers for a textured custom mesh.
- generate_
cylinder - Generates a cylinder geometry with top and bottom caps.
- generate_
plane - Generates a planar subdivided grid quad.
- generate_
sphere - Generates a UV Sphere with configurable radial rings and segments.