Copyright | (C) Johann Lee <me@qinka.pro> 2017 |
---|---|
License | GPL-3 |
Maintainer | me@qinka.pro |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
HOff.Parser.Types
Contents
Description
The types are used in parser.
Types of OFF
Basic format of file It will include only the vertices and faces. a is type for Vertice b is type for faces' index For example, type SimpleOFF = OFF [] Float.
Vertices of OFF in x, y, z coordinate. a is type of value
Constructors
Vertice (a, a, a) |
Face of OFF store the index of every vertices.
l is vector should be * -> *
, and it will be used as array, or say vector.
a is type of value
Constructors
Face [a] |
Status of parser. To get number of vertices and faces.
Constructors
ParStat | |
Fields
|