wavefront-0.7.1.5: Wavefront OBJ loader
Copyright(C) 2015 Dimitri Sabadie
LicenseBSD3
MaintainerDimitri Sabadie <dimitri.sabadie@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Wavefront.Face

Description

 
Synopsis

Documentation

data FaceIndex Source #

A face index is a triplet of indices. FaceIndex vi vti vni is a face that indexes the locations with vi, the texture coordinates with vti and the normals with vni. An index set to Nothing means no information. That is, if vni == Nothing, then that FaceIndex doesn’t have a normal associated with.

Constructors

FaceIndex 

Instances

Instances details
Show FaceIndex Source # 
Instance details

Defined in Codec.Wavefront.Face

Eq FaceIndex Source # 
Instance details

Defined in Codec.Wavefront.Face

data Face Source #

A face gathers several FaceIndex to build up faces. It has a least three vertices

Instances

Instances details
Show Face Source # 
Instance details

Defined in Codec.Wavefront.Face

Methods

showsPrec :: Int -> Face -> ShowS #

show :: Face -> String #

showList :: [Face] -> ShowS #

Eq Face Source # 
Instance details

Defined in Codec.Wavefront.Face

Methods

(==) :: Face -> Face -> Bool #

(/=) :: Face -> Face -> Bool #