+ Fix Windows build

This commit is contained in:
wmayer
2013-09-23 10:52:15 +02:00
parent c6e5588939
commit a648a2d33b

View File

@@ -108,7 +108,7 @@ void CrossSection::sliceSolid(double d, const TopoDS_Shape& shape, std::list<Top
gp_Vec tempVector(a,b,c);
tempVector.Normalize();//just in case.
tempVector *= (d+1.0);
gp_Pnt refPoint(0.0d, 0.0d, 0.0d);
gp_Pnt refPoint(0.0, 0.0, 0.0);
refPoint.Translate(tempVector);
BRepPrimAPI_MakeHalfSpace mkSolid(face, refPoint);