Example #1
0
 public static bool Equals(Size3 s1, Size3 s2)
 {
     return
         (s1.Width == s2.Width &&
          s1.Height == s2.Height &&
          s1.Depth == s2.Depth);
 }
Example #2
0
 public static AaBox FromCenter(Vector3 center, Size3 halfSize) => new AaBox
 {
     Center   = center,
     HalfSize = halfSize
 };
Example #3
0
 public AaBox(Vector3 center, Size3 halfSize)
 {
     Center   = center;
     HalfSize = halfSize;
 }
Example #4
0
 public bool Equals(Size3 other)
 {
     return(Equals(this, other));
 }