Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            UniformValueUint2 o = obj as UniformValueUint2;

            if (o == null)
            {
                return(false);
            }
            return(X == o.X && Y == o.Y);
        }
Exemplo n.º 2
0
        public void Set(IUniformValue source)
        {
            UniformValueUint2 other = source as UniformValueUint2;

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