What do these commands?

mattm

16-05-2007 13:36:41

Hi!
I've made the tutorials, but some things are not quite obvious for me...
I think it's C# stuffs but it doesn't appear in the MSDN website.
What means:
What do these commands?
mMoveCam |= 1;
mMoveCam &= ~1;



Why is SetPosition used as a method whereas LookAt is usad as an attribute though the Ogre reference presents it as a method....
mCamera.SetPosition(new Vector3(0, 10, 500));
mCamera.LookAt = new Vector3(0, 0, 0);

thanx! :D