Type Definition dae_parser::Triangles

source · []
pub type Triangles = Geom<TriangleGeom>;
Expand description

Provides the information needed for a mesh to bind vertex attributes together and then organize those vertices into individual triangles.

Implementations

Construct a new Triangles object from a data buffer. The data buffer prim contains exactly count triangles, consisting of 3 vertices, each consisting of inputs.len() indices, for a total of inputs.len() * 3 * count values.