Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let square = squareMeshes $ Square (V3 (-0.5) (-0.5) 0.0) (V3 0.5 (-0.5) 0.0) (V3 (-0.5) 0.5 0.0) (V3 0.5 0.5 0.0)
- mapM_ (LambdaCubeGL.uploadMeshToGPU >=> LambdaCubeGL.addMeshToObjectArray storage "objects" []) square
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement