예제 #1
0
        public void Set(IUniformValue source)
        {
            UniformValueUint1 other = source as UniformValueUint1;

            if (other == null)
            {
                return;
            }
            X = other.X;
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            UniformValueUint1 o = obj as UniformValueUint1;

            if (o == null)
            {
                return(false);
            }
            return(X == o.X);
        }