summaryrefslogtreecommitdiff
path: root/src/Graphics
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2019-06-11 02:29:26 -0400
committerJoe Crayne <joe@jerkface.net>2019-06-11 02:29:26 -0400
commit42eef741086804aa106870f5a375c65ac5d83ab2 (patch)
tree03a3773f55c84fadfc2eee93a10e809752f106de /src/Graphics
parentd866df206e703854cfa95e6aabe3ed5ed3bfbcaa (diff)
Sundqvist: Allow leading spaces.
Diffstat (limited to 'src/Graphics')
-rw-r--r--src/Graphics/WaveFront/Parse/OBJ.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Graphics/WaveFront/Parse/OBJ.hs b/src/Graphics/WaveFront/Parse/OBJ.hs
index 69cce47..2c3919e 100644
--- a/src/Graphics/WaveFront/Parse/OBJ.hs
+++ b/src/Graphics/WaveFront/Parse/OBJ.hs
@@ -72,7 +72,7 @@ obj = Atto.sepBy row lineSeparator -- <* Atto.endOfInput
72-- - Handle invalid rows (how to deal with mangled definitions w.r.t indices?) 72-- - Handle invalid rows (how to deal with mangled definitions w.r.t indices?)
73-- - Use ListLike or Monoid (or maybe Indexable, since that's the real requirement) (?) 73-- - Use ListLike or Monoid (or maybe Indexable, since that's the real requirement) (?)
74row :: (Fractional f, Integral i) => Atto.Parser (OBJToken f Text i []) 74row :: (Fractional f, Integral i) => Atto.Parser (OBJToken f Text i [])
75row = token <* ignore comment -- TODO: Let the separator handle comments (?) 75row = Atto.skipSpace *> token <* ignore comment -- TODO: Let the separator handle comments (?)
76 76
77 77
78-- | 78-- |