FEM: source code typos, issue 0002914

This commit is contained in:
Kunda
2017-02-28 11:51:07 +01:00
committed by wmayer
parent 35e66aca8e
commit 90aeb372f5
19 changed files with 43 additions and 43 deletions

View File

@@ -130,7 +130,7 @@ void ViewProviderFemConstraintTemperature::updateData(const App::Property* prop)
SoSeparator* sep = new SoSeparator();
///draw a temp gauge,with sphere and a cylinder
//first move to correct postion
//first move to correct position
SoTranslation* trans = new SoTranslation();
SbVec3f newPos=base+scaledradius*dir*0.7f;
trans->translation.setValue(newPos);
@@ -151,7 +151,7 @@ void ViewProviderFemConstraintTemperature::updateData(const App::Property* prop)
SoSphere* sph = new SoSphere();
sph->radius.setValue(scaledradius*0.75);
sep->addChild(sph);
//translate postion
//translate position
SoTranslation* trans2 = new SoTranslation();
trans2->translation.setValue(SbVec3f(0,scaledheight*0.375,0));
sep->addChild(trans2);
@@ -160,7 +160,7 @@ void ViewProviderFemConstraintTemperature::updateData(const App::Property* prop)
cyl->height.setValue(scaledheight*0.5);
cyl->radius.setValue(scaledradius*0.375);
sep->addChild(cyl);
//translate postion
//translate position
SoTranslation* trans3 = new SoTranslation();
trans3->translation.setValue(SbVec3f(0,scaledheight*0.375,0));
sep->addChild(trans3);