summaryrefslogtreecommitdiff
path: root/src/Wavefront.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wavefront.hs')
-rw-r--r--src/Wavefront.hs33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Wavefront.hs b/src/Wavefront.hs
index 66d6cdb..9e42779 100644
--- a/src/Wavefront.hs
+++ b/src/Wavefront.hs
@@ -42,6 +42,39 @@ data ObjBuilder m = ObjBuilder
42 , badToken :: L.ByteString -> m () 42 , badToken :: L.ByteString -> m ()
43 } 43 }
44 44
45nullBuilder :: Applicative m => ObjBuilder m
46nullBuilder = ObjBuilder
47 { vertex = \vs -> pure ()
48 , vertexT = \vs -> pure ()
49 , vertexN = \vs -> pure ()
50 , vertexP = \vs -> pure ()
51 , face = \is -> pure ()
52 , cstype = \isRat typ -> pure ()
53 , curv2 = \is -> pure ()
54 , curv = \u0 v0 is -> pure ()
55 , parm = \isU is -> pure ()
56 , specialPoints = \is -> pure ()
57 , endFreeForm = pure ()
58 , ctech = \approx -> pure ()
59 , stech = \approx -> pure ()
60 , deg = \is -> pure ()
61 , surf = \u0 u1 v0 v1 ts -> pure ()
62 , trim = \ss -> pure ()
63 , hole = \ss -> pure ()
64 , specialCurves = \ss -> pure ()
65 , equivalentCurves = \ccs -> pure ()
66 , groups = \gs -> pure ()
67 , smoothingGroup = \sg -> pure ()
68 , mergingGroup = \mg δ -> pure ()
69 , usemtl = \mtl -> pure ()
70 , deprecated_cdc = \is -> pure ()
71 , deprecated_bzp = \is -> pure ()
72 , mtllib = \fns -> pure ()
73 , objectName = \obn -> pure ()
74 , badToken = \bs -> pure ()
75 }
76
77
45data CurveSamplingSpec 78data CurveSamplingSpec
46 -- ctech cparm 79 -- ctech cparm
47 = UniformSubdivision 80 = UniformSubdivision