replace .Zero => .SetZero

This commit is contained in:
Gael Guennebaud guennebaud 2008-10-27 14:49:39 +00:00
parent 77a68e0827
commit 295f692d43
5 changed files with 5 additions and 5 deletions

View File

@ -125,7 +125,7 @@ vcg::Point3f PickedPointTreeWidgetItem::getNormal(){
}
void PickedPointTreeWidgetItem::clearPoint(){
point.Zero();
point.SetZero();
//x
setText(1, "");

View File

@ -99,7 +99,7 @@ void QuadricSimplification(CMeshO &m,int TargetFaceNum, float QualityThr,
bool Selected, CallBackPos *cb)
{
math::Quadric<double> QZero;
QZero.Zero();
QZero.SetZero();
QuadricTemp TD(m.vert,QZero);
QHelper::TDp()=&TD;

View File

@ -781,7 +781,7 @@ void QuadricTexSimplification(CMeshO &m,int TargetFaceNum,
CallBackPos *cb)
{
math::Quadric<double> QZero;
QZero.Zero();
QZero.SetZero();
QuadricTemp TD3(m.vert,QZero);
QuadricTexHelper::TDp3()=&TD3;

View File

@ -51,7 +51,7 @@ SUBDIRS = meshfilter \
../fgt/edit_hole \
../fgt/edit_topo \
../fgt/render_rfx \
../fgt/filter_func \
# ../fgt/filter_func \
mlsfilters \
io_gts \
io_expe \

View File

@ -340,7 +340,7 @@ void UpdateFaceNormalFromVertex(MeshType& m)
for (FaceIterator f=m.face.begin(); f!=m.face.end(); ++f)
{
NormalType n;
n.Zero();
n.SetZero();
for(int j=0; j<3; ++j)
n += f->V(j)->cN();
n.Normalize();