mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
replace .Zero => .SetZero
This commit is contained in:
parent
77a68e0827
commit
295f692d43
@ -125,7 +125,7 @@ vcg::Point3f PickedPointTreeWidgetItem::getNormal(){
|
||||
}
|
||||
|
||||
void PickedPointTreeWidgetItem::clearPoint(){
|
||||
point.Zero();
|
||||
point.SetZero();
|
||||
|
||||
//x
|
||||
setText(1, "");
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user