Expand description
Basic geometric primitives.
Re-exports§
pub use mesh::Mesh;
Modules§
- mesh
- Triangle meshes.
Structs§
- Edge
- A line segment between two vertices.
- Plane
- Plane, defined by the four parameters of the plane equation.
- Polygon
- A closed curve composed of a chain of line segments.
- Polyline
- A curve composed of a chain of line segments.
- Ray
- A ray, or a half line, composed of an initial point and a direction vector.
- Tri
- Triangle, defined by three vertices.
- Vertex
- Vertex with a position and arbitrary other attributes.
Enums§
- Winding
- Polygon winding order.
Functions§
- tri
- Creates a
Triwith the given vertices. - vertex
- Creates a
Vertexwith the give position and attribute values.