Added bounds checking for triangles.
This commit is contained in:
9
src/tect.c
Normal file
9
src/tect.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user