30 namespace OpenSim.
Region.PhysicsModules.ConvexDecompositionDotNet
47 public float4(
float _x,
float _y,
float _z,
float _w)
71 public float this[
int i]
82 throw new ArgumentOutOfRangeException();
88 return new float3(x, y, z);
100 return x.GetHashCode() ^ y.GetHashCode() ^ z.GetHashCode() ^ w.GetHashCode();
114 return Homogenize(v3, 1.0f);
140 return v.x * m.x + v.y * m.y + v.z * m.z + v.w * m.w;
146 if (System.Object.ReferenceEquals(a, b))
149 if (((
object)a == null) || ((object)b == null))
152 return (a.
x == b.
x && a.
y == b.
y && a.
z == b.
z && a.
w == b.
w);
162 return new float4(v.
x * s, v.
y * s, v.
z * s, v.
w * s);
167 return new float4(v.
x * s, v.
y * s, v.
z * s, v.
w * s);
static float4 cmul(float4 a, float4 b)
float4(float _x, float _y, float _z, float _w)
static float4 Homogenize(float3 v3)
override int GetHashCode()
static float4 Homogenize(float3 v3, float w)
float4(float3 v, float _w)
override bool Equals(object obj)