virtualx-engine/thirdparty/thekla_atlas/nvmesh/weld/Snap.h
Hein-Pieter van Braam bf05309af7 Import thekla_atlas
As requested by reduz, an import of thekla_atlas into thirdparty/
2017-12-08 15:47:15 +01:00

18 lines
385 B
C++

// 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