Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m)
This commit is contained in:
parent
fc7983d3fd
commit
8a8f48ac85
|
@ -898,7 +898,7 @@ the new (and old) vertexes are put in a std::vector that is swapped with the ori
|
||||||
template<class MESH_TYPE>
|
template<class MESH_TYPE>
|
||||||
void Crease(MESH_TYPE &m, typename MESH_TYPE::scalar_type angleRad)
|
void Crease(MESH_TYPE &m, typename MESH_TYPE::scalar_type angleRad)
|
||||||
{
|
{
|
||||||
assert(m.HasFFTopology());
|
assert(HasFFTopology(m));
|
||||||
typename MESH_TYPE::scalar_type cosangle=Cos(angleRad);
|
typename MESH_TYPE::scalar_type cosangle=Cos(angleRad);
|
||||||
|
|
||||||
std::vector<GLW::VertToSplit<MESH_TYPE> > SPL;
|
std::vector<GLW::VertToSplit<MESH_TYPE> > SPL;
|
||||||
|
|
Loading…
Reference in New Issue