summaryrefslogtreecommitdiff
path: root/thirdparty/thekla_atlas/nvmesh/weld/Snap.h
blob: 8e0566cda3dedb95cb06907108d6d88569fc533d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This code is in the public domain -- castanyo@yahoo.es

#ifndef NV_MESH_SNAP_H
#define NV_MESH_SNAP_H

#include <nvmesh/nvmesh.h>
#include <nvmath/nvmath.h>

namespace nv
{
	class TriMesh;

	NVMESH_API uint SnapVertices(TriMesh * mesh, float posThreshold=NV_EPSILON, float texThreshold=1.0f/1024, float norThreshold=NV_NORMAL_EPSILON);

} // nv namespace


#endif // NV_MESH_SNAP_H