wavefront-0.2: Wavefront OBJ loader

Copyright(C) 2015 Dimitri Sabadie
LicenseBSD3
MaintainerDimitri Sabadie <dimitri.sabadie@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Codec.Wavefront.Line

Description

 

Synopsis

Documentation

data Line Source

A line is a pair of indexes. Line vi vti. vi references the locations and vti indexes the texture coordinates. If vti == Nothing, then that Line doesn’t have texture coordinates associated with.

Keep in mind that Line doesn’t represent a polygonal line directly. It represents a line index, which is a pair. In theory, a polygonal line is 2 Lines.

Constructors

Line !(Int, Maybe Int)