Exemplo n.º 1
0
 /// Returns the center of a bounding box.
 public static FixVec2 Center(AABB aabb)
 {
     return(FixVec2.Lerp(new FixVec2(aabb.L, aabb.B), new FixVec2(aabb.R, aabb.T), 0.5f));
 }