X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgeom.h;h=19c10ff6a1a4e758294a9d42cdaec7b7a4e51764;hb=82bf18c392447827912146ba65145500c9c25385;hp=ebb6659c9c58fb97fc2ea2768e7032ab80d3bcd6;hpb=bf7eceb7d1cef825a64a1db7a20628f7d7005654;p=meshfrac diff --git a/src/geom.h b/src/geom.h index ebb6659..19c10ff 100644 --- a/src/geom.h +++ b/src/geom.h @@ -27,6 +27,8 @@ 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); #endif /* GEOM_H_ */