Cleanup, start to add creature silhouettes

This commit is contained in:
2021-09-02 11:06:04 +01:00
parent 02193add68
commit 9d2f42dbc9
16 changed files with 142 additions and 94 deletions
+10 -10
View File
@@ -10,11 +10,11 @@ module Shader.Data
-- | Lens functions
, vao
, vaoVBO
, shaderProgram
, shaderVAO
, shaderDrawPrimitive
, shaderTexture
, shaderCustomUnis
, shadProg
, shadVAO
, shadPrim
, shadTex
, shadUnis
, vbo
, vboPtr
, vboAttribSizes
@@ -29,11 +29,11 @@ import Foreign
import Control.Lens
{- | Datatype containing the necessary information for a single shader. -}
data FullShader = FullShader
{ _shaderProgram :: Program
, _shaderVAO :: VAO
, _shaderDrawPrimitive :: EPrimitiveMode
, _shaderTexture :: Maybe ShaderTexture
, _shaderCustomUnis :: [UniformLocation]
{ _shadProg :: Program
, _shadVAO :: VAO
, _shadPrim :: EPrimitiveMode
, _shadTex :: Maybe ShaderTexture
, _shadUnis :: [UniformLocation]
}
{- | Vertex array object: contains the reference to the object,
and its buffer targets. -}