almost there...
[meshfrac] / src / geom.h
index ebb6659..a66d163 100644 (file)
@@ -27,6 +27,10 @@ int plane_poly(const struct plane *plane, struct poly *poly, float size);
 float ray_plane(const cgm_ray *ray, const struct plane *plane);
 float ray_poly(const cgm_ray *ray, const struct poly *poly);
 
+int init_poly(struct poly *p);
+void destroy_poly(struct poly *p);
 int clip_poly(struct poly *pout, const struct poly *pin, const struct plane *plane);
 
+int poly_poly(const struct poly *p1, const struct poly *p2);
+
 #endif /* GEOM_H_ */