示例#1
0
        public override bool Equals(System.Object obj)
        {
            if (!(obj is IntVector4))
            {
                return(false);
            }
            IntVector4 data = (IntVector4)obj;

            return(this == data);
        }
示例#2
0
 public static IntVector4 Min(IntVector4 value1, IntVector4 value2)
 {
     return(new IntVector4(System.Math.Min(value1.x, value2.x), System.Math.Min(value1.y, value2.y), System.Math.Min(value1.z, value2.z), System.Math.Min(value1.w, value2.w)));
 }