From 4aa5d6340d651542db5f24c2ae6713d1a48bbf19 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Wed, 4 Oct 2023 09:06:54 -0700 Subject: Add note. --- Spear/Render/Immediate.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 applyUniforms (shader state) renderGeometry (triangles state) --- TODO: use triangle strips for quads. Will need a separate Geometry. +-- NOTE: consider using triangle strips for quads. This will require a separate +-- Geometry. Using Vector3 for everything currently makes this simple. immDrawQuads :: [(Vector3, Vector3, Vector3, Vector3)] -> Game ImmRenderState () immDrawQuads quads = immDrawTriangles triangles where -- cgit v1.2.3