@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
21 lines • 915 B
TypeScript
/**
* Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement)
* Patches the rest of the topology
* Useful for mesh simplification
* @param {TopoMesh} mesh
* @param {TopoEdge} edge
* @param {TopoVertex} victim
* @param {TopoVertex} replacement
*/
export function partialEdgeCollapse(mesh: TopoMesh, edge: TopoEdge, victim: TopoVertex, replacement: TopoVertex): void;
/**
* Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement)
* Patches the rest of the topology
* Useful for mesh simplification
* @param {TopoMesh} mesh
* @param {TopoEdge} edge
* @param {TopoVertex} victim
* @param {TopoVertex} replacement
*/
export function collapseEdge(mesh: TopoMesh, edge: TopoEdge, victim: TopoVertex, replacement: TopoVertex): void;
//# sourceMappingURL=collapseEdge.d.ts.map