Пример #1
0
 /// <summary>
 /// For given location, return vector which is that locations position atop ground.
 /// Effectively taking location, which is in xz plane, and projecting it such that it is atop ground.
 /// </summary>
 public Vector3 onGround(Loc l)
 {
     return l.asVect () + new Vector3(0, map.getHeight(l), 0);
 }