changes for malomo
This commit is contained in:
parent
b2c2628a07
commit
26045c0e22
|
@ -129,6 +129,13 @@ public:
|
|||
return vcg::tri::GetClosestFaceBase(base,uniformGrid,p, this->par.gridBailout, closestDist, closestP,closestN,ip);
|
||||
}
|
||||
|
||||
FaceType *GetClosestFaceIP(const CoordType &p, CoordType &ip, CoordType &in)
|
||||
{
|
||||
ScalarType closestDist;
|
||||
CoordType closestP;
|
||||
return vcg::tri::GetClosestFaceBase(base,uniformGrid,p, this->par.gridBailout, closestDist, closestP,in,ip);
|
||||
}
|
||||
|
||||
FaceType *GetClosestFacePoint(const CoordType &p, CoordType &closestP)
|
||||
{
|
||||
ScalarType closestDist;
|
||||
|
|
|
@ -323,6 +323,7 @@ void Add( const Point3<BoxScalarType> & p, const BoxScalarType radius )
|
|||
|
||||
template <class T> Box3<T> Point3<T>::GetBBox(Box3<T> &bb) const {
|
||||
bb.Set( *this );
|
||||
return bb;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ static const PropDescriptor &VertDesc(int i)
|
|||
/*27*/ {"vertex", "nx", ply::T_DOUBLE, PlyType<ScalarType>(),offsetof(LoadPly_VertAux<ScalarType>,n) ,0,0,0,0,0 ,0},
|
||||
/*28*/ {"vertex", "ny", ply::T_DOUBLE, PlyType<ScalarType>(),offsetof(LoadPly_VertAux<ScalarType>,n) + 1*sizeof(ScalarType),0,0,0,0,0 ,0},
|
||||
/*29*/ {"vertex", "nz", ply::T_DOUBLE, PlyType<ScalarType>(),offsetof(LoadPly_VertAux<ScalarType>,n) + 2*sizeof(ScalarType),0,0,0,0,0 ,0},
|
||||
/*30*/ {"vertex", "radius", ply::T_DOUBLE, ply::T_FLOAT, offsetof(LoadPly_VertAux<ScalarType>,radius),0,0,0,0,0 ,0},
|
||||
/*30*/ {"vertex", "radius", ply::T_DOUBLE, PlyType<ScalarType>(),offsetof(LoadPly_VertAux<ScalarType>,radius),0,0,0,0,0 ,0},
|
||||
/*31*/ {"vertex", "quality", ply::T_DOUBLE, PlyType<ScalarType>(),offsetof(LoadPly_VertAux<ScalarType>,q),0,0,0,0,0 ,0}
|
||||
};
|
||||
return pv[i];
|
||||
|
|
Loading…
Reference in New Issue