Added bounds checking for triangles.

This commit is contained in:
2025-12-20 10:33:12 -05:00
parent cffc64f3e9
commit 3bf2a7b429
10 changed files with 126 additions and 116 deletions

9
src/tect.c Normal file
View File

@@ -0,0 +1,9 @@
#include "include/tect.h"
#include "include/gen.h"
#include "include/geom.h"
Vec2* tect_asth_vals(Plate p) {
Vec2 buf[WORLD_SZ * WORLD_SZ];
for (int i = 0; i < p.ntris; i++) {}
return buf;
}