Module geom

Source
Expand description

Contains functions for reading vertex and other data out of the geometry types, like Mesh.

Structs§

ArrayIter
An iterator / accessor for retrieving vertex objects from a stored u32 array.
Importer
A completed impporter, which is used to translate primitive lists. Created with Geom::importer,
VertexImporter
The result of reading a Vertices and resolving the references in it, to produce an object that can be used to translate primitive lists (see Importer).

Traits§

UrlResolver
This trait abstracts over types that can be used to resolve URL references. It is implemented for LocalMap and LocalMaps, and user types can also implement this trait to provide external URL resolution.
VertexLoad
A trait, to be implemented by user types, to describe how to construct a vertex object from the stored data. The context C is an arbitrary type that can be used for getting (or modifying, with interior mutability) additional data to create the object.