Expand description
Utilities useful for various generations tasks.
Functionsยง
- Computes the normals of a set of vertices.
- Pushes a discretized counterclockwise circle to a buffer.
- Creates the faces from a circle and a point that is shared by all triangle.
- Creates the faces from a circle and a point that is shared by all triangle.
- Pushes indices so that a circle is filled with triangles. Each triangle will have the
base_circle
point in common. Pushesnsubdiv - 2
elements toout
. - Creates the faces from two circles with the same discretization.
- Given four corner points, pushes to two counterclockwise triangles to
out
. - Creates the faces from two circles with the same discretization.
- Pushes a discretized counterclockwise circle to a buffer. The circle is contained on the plane spanned by the
x
andy
axis. - Reverses the clockwising of a set of faces.
- Duplicates the indices of each triangle on the given index buffer.
- Duplicates the indices of each triangle on the given index buffer, giving the same id to each identical vertex.