fixed import
This commit is contained in:
parent
527d620da6
commit
1bfec031e2
@ -139,3 +139,7 @@ genColorData :: Int -- ^ Amount
|
|||||||
-> [Int8]
|
-> [Int8]
|
||||||
genColorData n c = take (length c*n) (cycle c)
|
genColorData n c = take (length c*n) (cycle c)
|
||||||
|
|
||||||
|
-- from GLUtil
|
||||||
|
-- |Allocate and fill a 'BufferObject' from a list of 'Storable's.
|
||||||
|
makeBuffer :: Storable a => BufferTarget -> [a] -> IO BufferObject
|
||||||
|
makeBuffer target elems = makeBufferLen target (length elems) elems
|
||||||
|
@ -7,7 +7,7 @@ import Foreign.Storable
|
|||||||
import Graphics.Rendering.OpenGL.GL
|
import Graphics.Rendering.OpenGL.GL
|
||||||
import Graphics.Rendering.OpenGL.Raw.Core31
|
import Graphics.Rendering.OpenGL.Raw.Core31
|
||||||
import Graphics.Rendering.OpenGL.Raw.ARB.TessellationShader
|
import Graphics.Rendering.OpenGL.Raw.ARB.TessellationShader
|
||||||
import Graphics.GLUtil.BufferObjects (offset0)
|
import Graphics.GLUtil.BufferObjects
|
||||||
import qualified Linear as L
|
import qualified Linear as L
|
||||||
import Control.Lens ((^.))
|
import Control.Lens ((^.))
|
||||||
import Control.Monad.RWS.Strict (liftIO)
|
import Control.Monad.RWS.Strict (liftIO)
|
||||||
|
Loading…
Reference in New Issue
Block a user