Some cleanup of rendering/poking, remove forcefield gun

This commit is contained in:
2024-10-01 13:19:34 +01:00
parent 6438da0037
commit d357d5a03c
11 changed files with 64 additions and 148 deletions
+3 -1
View File
@@ -6,7 +6,7 @@ module Shader.Parameters
, glushortSize
, numGLushort
) where
import Picture.Data
--import Picture.Data
import Graphics.GL.Core45
import Foreign
@@ -30,10 +30,12 @@ numGLushort :: Int
numGLushort = fromIntegral (maxBound :: GLushort) + 1
{-# INLINE numGLushort #-}
-- why 6?
numDrawableVertices :: Int
{-# INLINE numDrawableVertices #-}
numDrawableVertices = 6 * numSubElements
-- why this number?
numSubElements :: Int
{-# INLINE numSubElements #-}
numSubElements = 65536