Index: irrlicht/include/matrix4.h =================================================================== --- irrlicht/include/matrix4.h (revision 3032) +++ irrlicht/include/matrix4.h (working copy) @@ -642,13 +642,13 @@ f32 h = (f32)(cos(fieldOfViewRadians/2) / sin(fieldOfViewRadians/2)); f32 w = h / aspectRatio; - (*this)(0,0) = 2*zNear/w; + (*this)(0,0) = 2.0f/w; (*this)(1,0) = 0; (*this)(2,0) = 0; (*this)(3,0) = 0; (*this)(0,1) = 0; - (*this)(1,1) = 2*zNear/h; + (*this)(1,1) = 2.0f/h; (*this)(2,1) = 0; (*this)(3,1) = 0;