diff options
Diffstat (limited to 'src/Codec/Wavefront/Point.hs')
-rw-r--r-- | src/Codec/Wavefront/Point.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Codec/Wavefront/Point.hs b/src/Codec/Wavefront/Point.hs new file mode 100644 index 0000000..698aeca --- /dev/null +++ b/src/Codec/Wavefront/Point.hs | |||
@@ -0,0 +1,18 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | -- | | ||
3 | -- Copyright : (C) 2015 Dimitri Sabadie | ||
4 | -- License : BSD3 | ||
5 | -- | ||
6 | -- Maintainer : Dimitri Sabadie <dimitri.sabadie@gmail.com> | ||
7 | -- Stability : experimental | ||
8 | -- Portability : portable | ||
9 | -- | ||
10 | ----------------------------------------------------------------------------- | ||
11 | |||
12 | module Codec.Wavefront.Point where | ||
13 | |||
14 | -- |A point is a single index that references the locations. It’s a canonical type that truly | ||
15 | -- represents a polygonal point. | ||
16 | data Point = Point { | ||
17 | pointLocIndex :: {-# UNPACK #-} !Int | ||
18 | } deriving (Eq,Show) | ||