fix some linux compiler warnings

This commit is contained in:
Shai Seger
2017-10-31 11:10:23 -02:00
committed by Yorik van Havre
parent e1d624b2cb
commit c05219cfe8
2 changed files with 4 additions and 1 deletions
@@ -740,6 +740,9 @@ void cSimTool::InitTool() // pos is 0..1 location along the radius of the tool
case ROUND:
dradius = radius * radius;
break;
case FLAT:
break;
}
}
+1 -1
View File
@@ -99,8 +99,8 @@ public:
void InitTool();
Type type;
float tipAngle;
float radius;
float tipAngle;
float dradius;
float chamRatio;
float GetToolProfileAt(float pos);