30 namespace OpenSim.
Region.PhysicsModules.ConvexDecompositionDotNet
42 public int3(
int _x,
int _y,
int _z)
49 public int this[
int i]
59 throw new ArgumentOutOfRangeException();
65 case 0: x = value;
return;
66 case 1: y = value;
return;
67 case 2: z = value;
return;
69 throw new ArgumentOutOfRangeException();
75 return x.GetHashCode() ^ y.GetHashCode() ^ z.GetHashCode();
78 public override bool Equals(
object obj)
90 if (System.Object.ReferenceEquals(a, b))
93 if (((
object)a == null) || ((object)b == null))
96 for (
int i = 0; i < 3; i++)
120 return (a == b || roll3(a) == b || a == roll3(b));
125 return isa(a,
new int3(b[2], b[1], b[0]));
override int GetHashCode()
override bool Equals(object obj)
static bool b2b(int3 a, int3 b)
int3(int _x, int _y, int _z)
static bool isa(int3 a, int3 b)
static int3 roll3(int3 a)