Implement texture atlas, details on why it works unclear

This commit is contained in:
2021-06-14 16:24:10 +02:00
parent f09fe8798e
commit 73bd407c49
16 changed files with 118 additions and 26 deletions
+1
View File
@@ -25,6 +25,7 @@ data RenderType
| Render22 {_unRender22 :: (Point2,Point2)}
| Render22x4 {_unRender22x4 :: ((Point2,Point2),Point4)}
| Render3x2 {_unRender3x2 :: (Point3,Point2)}
| Render3x3 {_unRender3x3 :: (Point3,Point3)}
type RGBA = (Float,Float,Float,Float)
type Color = (Float,Float,Float,Float)