Expand description
Procedural mesh generation.
Modules§
Structs§
- TriMesh
- Geometric description of a mesh.
Enums§
- Index
Buffer - Different representations of the index buffer.
Functions§
- bezier_
curve - Given a set of control points, generates a (non-rational) Bezier curve.
- bezier_
surface - Given a set of control points, generates a (non-rational) Bezier surface.
- capsule
- Generates a capsule.
- cone
- Generates a cone with a given height and diameter.
- cuboid
- Generates a cuboid shape with a split index buffer.
- cylinder
- Generates a cylinder with a given height and diameter.
- quad
- Adds a double-sided quad to the scene.
- quad_
with_ vertices - Adds a double-sided quad with the specified grid of vertices.
- sphere
- Generates a UV sphere.
- unit_
cone - Generates a cone with unit height and diameter.
- unit_
cuboid - Generates a cuboid shape with a split index buffer.
- unit_
cylinder - Generates a cylinder with unit height and diameter.
- unit_
hemisphere - Creates an hemisphere with a diameter of 1.
- unit_
quad - Adds a double-sided quad with unit size to the scene.
- unit_
sphere - Generates a UV sphere centered at the origin and with a unit diameter.