code cleanup: double promotions

This commit is contained in:
Campbell Barton
2012-11-04 10:20:16 +00:00
parent fae6c35ca7
commit 7579a9ec37
9 changed files with 17 additions and 17 deletions

View File

@@ -60,7 +60,7 @@ static bool isQuadPlanar(carve::geom3d::Vector &v1, carve::geom3d::Vector &v2,
float production = carve::geom::dot(cross, vec3);
float magnitude = 1e-5 * cross.length();
return fabs(production) < magnitude;
return fabsf(production) < magnitude;
}
static bool isFacePlanar(CSG_IFace &face, std::vector<carve::geom3d::Vector> &vertices)