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

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

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