wavefront-0.5.1: Wavefront OBJ loader

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

Codec.Wavefront.Element

Contents

Description

 

Synopsis

Element

data Element a Source

An element holds a value along with the user-defined object’s name (if exists), the associated groups and the used material. Those values can be used to sort the data per object or per group and to lookup materials.

Constructors

Element 

Fields

elObject :: Maybe Text
 
elGroups :: [Text]
 
elMtl :: Maybe Text
 
elValue :: a
 

Instances

Eq a => Eq (Element a) Source 
Show a => Show (Element a) Source