Code cleanup: Add -Werror=float-conversion to Cycles

This commit is contained in:
Campbell Barton
2014-05-03 07:22:14 +10:00
parent 43d5e54a79
commit 8d16869d83
21 changed files with 106 additions and 96 deletions

View File

@@ -44,8 +44,8 @@ Camera::Camera()
fisheye_lens = 10.5f;
fov = M_PI_4_F;
sensorwidth = 0.036;
sensorheight = 0.024;
sensorwidth = 0.036f;
sensorheight = 0.024f;
nearclip = 1e-5f;
farclip = 1e5f;