Crate geometry

Source
Expand description

A structure for storing and look up 3D geometry

Structs§

AddTo
Add range to object T.
Geometry
A geometry consists of a list of triangles. The triangles are stored separately, in a triangle list u32 index buffer.
Model
A model consists of a list of object. The objects are stored separately, in an object buffer.
Object
An object consists of a list of geometries. The geometries are stored separately, in a geometry buffer.

Enums§

VertexFormat
Description of vertex format.
VertexFormatError
An error with vertex format when adding to index and vertex buffer.

Traits§

Vertex
Implemented by vertex types.