array-objects get initialized
- initialized array-objects - still need to be rendered and collected to a VertexBufferObject refs #482 @2h
This commit is contained in:
@ -138,8 +138,3 @@ genColorData :: Int -- ^ Amount
|
||||
-> [Int8] -- ^ [r,g,b,a], [r,g,b] - whatever should be repeatet.
|
||||
-> [Int8]
|
||||
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
|
||||
|
Reference in New Issue
Block a user