コード例 #1
0
ファイル: UniformValueUint3.cs プロジェクト: mlunnay/minotaur
        public override bool Equals(object obj)
        {
            UniformValueUint3 o = obj as UniformValueUint3;

            if (o == null)
            {
                return(false);
            }
            return(X == o.X && Y == o.Y && Z == o.Z);
        }
コード例 #2
0
ファイル: UniformValueUint3.cs プロジェクト: mlunnay/minotaur
        public void Set(IUniformValue source)
        {
            UniformValueUint3 other = source as UniformValueUint3;

            if (other == null)
            {
                return;
            }
            X = other.X;
            Y = other.Y;
            Z = other.Z;
        }