1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023357: The 'then' statement is equivalent to the 'else' statement.

This commit is contained in:
mkv 2012-08-24 17:34:08 +04:00
parent b053b76478
commit 8983c41c24

View File

@ -2211,8 +2211,8 @@ static Standard_Integer OCC1487 (Draw_Interpretor& di, Standard_Integer argc, co
}
} else {
//BRepPrimAPI_MakeCylinder o_mc2 (gp_Ax2 (gp_Pnt(978.34936, -50.0, 127.5),gp_Dir(sin(M_PI/3), 0.0, 0.5)), 5, 150);
gp_Dir myDir_mc2(-sin(M_PI/3), 0.0, 0.5);
gp_Pnt myPnt_mc2(21.65064, -50.0, 127.5);
gp_Dir myDir_mc2(sin(M_PI/3), 0.0, 0.5);
gp_Pnt myPnt_mc2(978.34936, -50.0, 127.5);
gp_Ax2 myAx2_mc2(myPnt_mc2, myDir_mc2);
BRepPrimAPI_MakeCylinder o_mc2 (myAx2_mc2, 5, 150);