#ifndef EZ3D_DECIMATE_H #define EZ3D_DECIMATE_H #include "trimesh.h" /* Simplify m in place with quadric-error edge collapses (Garland & * Heckbert) until every remaining collapse would exceed the error budget * `err_mm`. Manifoldness is preserved by refusing collapses that violate * the edge link condition. Returns the new triangle count. */ size_t ez3d_decimate(trimesh_t *m, double err_mm); #endif /* EZ3D_DECIMATE_H */