Source typos fixes

This commit is contained in:
luz.paz
2018-05-04 10:31:47 -04:00
committed by Yorik van Havre
parent d9314b756e
commit 420c2d7c03
8 changed files with 16 additions and 16 deletions

View File

@@ -85,10 +85,10 @@ void ViewProviderDatumLine::setExtents (Base::BoundBox3d bbox) {
// Add origin of the line to the box if it's not
bbox.Add ( Base::Vector3d (0, 0, 0) );
double marging = bbox.LengthZ () * marginFactor ();
double margin = bbox.LengthZ () * marginFactor ();
// Display the line
pCoords->point.setNum (2);
pCoords->point.set1Value(0, 0, 0, bbox.MaxZ + marging );
pCoords->point.set1Value(1, 0, 0, bbox.MinZ - marging );
pCoords->point.set1Value(0, 0, 0, bbox.MaxZ + margin );
pCoords->point.set1Value(1, 0, 0, bbox.MinZ - margin );
}