const
This commit is contained in:
parent
3ef68d6009
commit
399ebd99ca
|
@ -96,11 +96,10 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
///calculate the BBox in UV space
|
///calculate the BBox in UV space
|
||||||
static vcg::Box2<ScalarType> PerVertUVBox(MeshType &m)
|
static vcg::Box2<ScalarType> PerVertUVBox(const MeshType &m)
|
||||||
{
|
{
|
||||||
vcg::Box2<ScalarType> UVBox;
|
vcg::Box2<ScalarType> UVBox;
|
||||||
VertexIterator vi;
|
for (auto vi=m.vert.begin();vi!=m.vert.end();vi++)
|
||||||
for (vi=m.vert.begin();vi!=m.vert.end();vi++)
|
|
||||||
{
|
{
|
||||||
if ((*vi).IsD()) continue;
|
if ((*vi).IsD()) continue;
|
||||||
UVBox.Add((*vi).T().P());
|
UVBox.Add((*vi).T().P());
|
||||||
|
|
Loading…
Reference in New Issue