Crate obj_exporter [] [src]

Structs

Geometry

A set of shapes, all using the given material.

ObjSet

A set of objects, as listed in an .obj file.

Object

A mesh object.

Shape

A shape gathers a primitive and groups.

TVertex

A single 3-dimensional point on a texture. "Texure Vertex".

Vertex

A single 3-dimensional point on the corner of an object.

Enums

Primitive

The various primitives supported by this library.

Functions

export

Exports ObjSet to given output.

export_to_file

Exports ObjSetto file.

Type Definitions

GroupName

Name of a group.

NormalIndex

An index into the normals array of an object.

TextureIndex

An index into the texture vertex array of an object.

VTNIndex

An index into the vertex array, with an optional index into the texture array. This is used to define the corners of shapes which may or may not be textured.

VertexIndex

An index into the vertices array of an object, representing a vertex in the mesh. After parsing, this is guaranteed to be a valid index into the array, so unchecked indexing may be used.