Redo shape vertices as a list, should allow for mirroring
This commit is contained in:
+2
-2
@@ -112,8 +112,8 @@ pokeShapeObj
|
||||
-> ShapeObj
|
||||
-> IO (Int,Int,Int)
|
||||
--{-# INLINE pokeShapeObj #-}
|
||||
pokeShapeObj ptr iptr ieptr counts (ShapeObj shType shVerts) = case shType of
|
||||
TopPrism size -> pokeTopPrism (size - 2) ptr iptr ieptr counts shVerts
|
||||
pokeShapeObj ptr iptr ieptr counts (ShapeObj shtype shVerts) = case shtype of
|
||||
TopPrism size -> pokeTopPrism (size - 2) ptr iptr ieptr counts (S.each shVerts)
|
||||
|
||||
pokeTopPrism :: Int -> Ptr Float -> Ptr GLushort
|
||||
-> Ptr GLushort
|
||||
|
||||
Reference in New Issue
Block a user