blob: affec01c57090c617d5a6349eaecec01e6cdf1ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{-# LANGUAGE PatternSynonyms #-}
-----------------------------------------------------------------------------
-- |
-- Copyright : (C) 2015 Dimitri Sabadie
-- License : BSD3
--
-- Maintainer : Dimitri Sabadie <dimitri.sabadie@gmail.com>
-- Stability : experimental
-- Portability : portable
--
-- Currently, you can parse a file and get a 'WavefrontOBJ' with the 'fromFile'
-- function.
-----------------------------------------------------------------------------
module Codec.Wavefront (
-- * Vertex location
Location(..)
-- * Vertex texture coordinates
, TexCoord(..)
-- * Vertex normals
, Normal(..)
-- * Points
, Point(..)
-- * Lines
, Line(..)
, LineIndex(..)
-- * Faces
, Face(..)
, FaceIndex(..)
, pattern Triangle
, pattern Quad
-- * Element
, Element(..)
-- * Object
, WavefrontOBJ(..)
-- * Re-exports
, module Codec.Wavefront.IO
) where
import Codec.Wavefront.Element
import Codec.Wavefront.Face
import Codec.Wavefront.IO
import Codec.Wavefront.Line
import Codec.Wavefront.Location
import Codec.Wavefront.Normal
import Codec.Wavefront.Object
import Codec.Wavefront.Point
import Codec.Wavefront.TexCoord
|