Allow tweaking z buffer when rendering polygon, improve explosion render
This commit is contained in:
+7
-5
@@ -14,11 +14,12 @@ import Geometry.Data
|
||||
--import Control.Monad
|
||||
|
||||
data RenderType
|
||||
= RenderPoly [(Point3,Point4)]
|
||||
| RenderBezQ [(Point3,Point4,Point4)]
|
||||
| RenderText [(Point3,Point4,Point2)]
|
||||
| RenderArc [(Point3,Point4,Point3)]
|
||||
| RenderLine [(Point3,Point4)]
|
||||
= RenderPoly [(Point3,Point4)]
|
||||
| RenderPolyZ [(Point3,Point4,Float)]
|
||||
| RenderBezQ [(Point3,Point4,Point4)]
|
||||
| RenderText [(Point3,Point4,Point2)]
|
||||
| RenderArc [(Point3,Point4,Point3)]
|
||||
| RenderLine [(Point3,Point4)]
|
||||
| RenderEllipse [(Point3,Point4)]
|
||||
| Render3 [Point3]
|
||||
| RenderConst
|
||||
@@ -79,6 +80,7 @@ data Picture
|
||||
= Blank
|
||||
| Text Int String
|
||||
| Polygon Int [Point2]
|
||||
| PolygonZ Int [Point2] Float
|
||||
| BezierQuad Int [(Point2,RGBA,Point2,Point2)]
|
||||
| PolygonCol Int [(Point2,RGBA)]
|
||||
| Poly3D Int [(Point3,RGBA)]
|
||||
|
||||
Reference in New Issue
Block a user