diff options
-rw-r--r-- | Spear/Render/Immediate.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Spear/Render/Immediate.hs b/Spear/Render/Immediate.hs index 44fe7a6..3c5f6ad 100644 --- a/Spear/Render/Immediate.hs +++ b/Spear/Render/Immediate.hs | |||
@@ -96,7 +96,8 @@ immDrawTriangles vertices = do | |||
96 | applyUniforms (shader state) | 96 | applyUniforms (shader state) |
97 | renderGeometry (triangles state) | 97 | renderGeometry (triangles state) |
98 | 98 | ||
99 | -- TODO: use triangle strips for quads. Will need a separate Geometry. | 99 | -- NOTE: consider using triangle strips for quads. This will require a separate |
100 | -- Geometry. Using Vector3 for everything currently makes this simple. | ||
100 | immDrawQuads :: [(Vector3, Vector3, Vector3, Vector3)] -> Game ImmRenderState () | 101 | immDrawQuads :: [(Vector3, Vector3, Vector3, Vector3)] -> Game ImmRenderState () |
101 | immDrawQuads quads = immDrawTriangles triangles | 102 | immDrawQuads quads = immDrawTriangles triangles |
102 | where | 103 | where |