| Copyright | (C) 2015 Dimitri Sabadie |
|---|---|
| License | BSD3 |
| Maintainer | Dimitri Sabadie <dimitri.sabadie@gmail.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Codec.Wavefront.Face
Description
Documentation
A face is a triplet of indices. is a face that indexes the locations with
Face vi vti vnivi, the texture coordinates with vti and the normals with vni. An index set to Nothing
means no information. That is, if vni == , then that NothingFace doesn’t have a normal
associated with.
Keep in mind that Face doesn’t represent a polygonal face directly. It represents a face index,
which is a triplet. In theory, a polygonal face is 3 Faces.