예제 #1
0
 /// <summary>
 /// Returns a 3D ray into the scene that is directly underneath the cursor.
 /// </summary>
 /// <param name="cam"></param>
 /// <returns></returns>
 public Mogre.Ray GetCursorRay(Mogre.Camera cam)
 {
     return(ScreenToScene(cam, new Mogre.Vector2(cursor._getLeft(), cursor._getTop())));
 }