trying to fix the clipping bugs
[meshfrac] / src / frac.h
index 72192b7..0049f09 100644 (file)
@@ -7,13 +7,16 @@
 
 struct frac_cell {
        cgm_vec3 pt;
+       struct poly *polys;
+       int num_polys;
+
        struct cmesh *mesh;
-       struct plane *planes;                   /* dynarr */
 };
 
 struct fracture {
        struct cmesh *mesh;                     /* no ownership */
        struct frac_cell *cells;        /* dynarr */
+       float cell_gap;
 };
 
 int frac_init(struct fracture *frac);