added gradient shaders to triangle primative

This commit is contained in:
2026-07-08 15:08:48 -07:00
parent f61e3a8237
commit 27b7640c85
4 changed files with 112 additions and 82 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ int main(void) {
timeAvg /= BATCH;
printf("Elapsed: %ld ns\n", timeAvg);
triangle.draw(surface.buffer, blue);
triangle.draw(surface.buffer, fuchsia);
point.draw(surface.buffer, green);