Crate dot_crocotile [] [src]

Load .crocotile maps into memory.

Structs

Config

Map-wide configuration

MapData

Container for Crocotile Map data

Model

A model, which is made from a texture map and a Vec<Object>

Object

A distinct part of a model.

UVCoord

Texture coordinates

Vertex

A vertex representing a point of an object.

Functions

load

Loads the supplied .crocotile file

load_from_bytes

Loads the supplied byte slice into a MapData.

Type Definitions

Triangle

The three indexes into the vertex list used to draw a triangle.

UV

The Texture coordinates to use for each vertex of a triangle.