[Mess] Strange code line in Cake

spacegaier

14-12-2008 12:03:26

Hi,

I just found this line in the BloodyCake in the initOgre function:
mCamera = _Camera("Camera", mSceneMgr).farClip(0.05).nearClip(500).position(25,25,25).look(0,0,0);

Shouldn't the values of the far and near clip plane be switched? 500 for the far one and 0.05 for the near one?

betajaen

14-12-2008 12:37:09

Yep. Your right.