float Camera::GetFovX()const { float halfWidth = 0.5f*GetNearWindowWidth(); return 2.0f*atan(halfWidth / mNearZ); }
float GFirstPersonCamera::GetFovX()const { float halfWidth = 0.5f*GetNearWindowWidth(); return 2.0f*atanf(halfWidth / mNearZ); }