a bunch of shit

This commit is contained in:
2026-02-13 22:53:09 +01:00
parent 0c1541e98c
commit 7c03b1b81d
11 changed files with 242 additions and 40 deletions
+3 -1
View File
@@ -6,5 +6,7 @@
#include "math.hpp"
void rasterizeTriangle(SDL_Renderer *renderer, const DeltaVector2 &a, const DeltaVector2 &b, const DeltaVector2 &c);
void rasterizeTriangleFast(SDL_Surface* surface, const DeltaVector2& v0, const DeltaVector2& v1, const DeltaVector2& v2, uint32_t color);
void rasterizeTriangleSurface(SDL_Surface* surface, const DeltaVector2& a, const DeltaVector2& b, const DeltaVector2& c, uint32_t color);
void setPixel(SDL_Surface* surface, int x, int y, uint32_t color);
#endif