package
0.2.0
Repository: https://github.com/mycshq/go-obj.git
Documentation: pkg.go.dev

# Functions

ErrorHandler is a handler which returns an error.
NewReader creates a new reader for the given io reader.
NewStandardReader returns a reader which supports a set of given types.
WithRestrictedTypes registeres an unknown handler that errors out only if the key is outside the given list.
WithType adds a new `Handler` to the `Reader`, denoted by the key and descriptive name.
WithUnknown adds a new `Handler` to the `Reader` for unknown lines/token types.

# Variables

StandardSet is the standard set of wavefront object types.

# Structs

A Face is a list of points.
A Normal is a vertex normal.
An Object is the toplevel loadable object.
A Point is a single point on a face.
A TextureCoord defines a texture coordinate.
Vertex represents a OBJ Vertex.

# Interfaces

Reader is responsible for reading the Object.

# Type aliases

A Handler is a handler for a given line.
A ReaderOption is a functional option which updates the reader object.