Beispiel #1
0
        public void Set(IUniformValue source)
        {
            UniformValueInt1 other = source as UniformValueInt1;

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

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