use 2.f instead of 2 to avoid error.
add new function to init zNear and zFar View3DParams(float f_zFar, float f_zNear) ;