projects
/
meshfrac
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated files from meshfrac_alt
[meshfrac]
/
src
/
frac.h
diff --git
a/src/frac.h
b/src/frac.h
index
03ae4e6
..
0049f09
100644
(file)
--- a/
src/frac.h
+++ b/
src/frac.h
@@
-3,16
+3,20
@@
#include "cmesh.h"
#include "cgmath/cgmath.h"
#include "cmesh.h"
#include "cgmath/cgmath.h"
+#include "geom.h"
struct frac_cell {
cgm_vec3 pt;
struct frac_cell {
cgm_vec3 pt;
+ struct poly *polys;
+ int num_polys;
+
struct cmesh *mesh;
struct cmesh *mesh;
- cgm_vec4 *planes; /* dynarr */
};
struct fracture {
struct cmesh *mesh; /* no ownership */
struct frac_cell *cells; /* dynarr */
};
struct fracture {
struct cmesh *mesh; /* no ownership */
struct frac_cell *cells; /* dynarr */
+ float cell_gap;
};
int frac_init(struct fracture *frac);
};
int frac_init(struct fracture *frac);