Example #1
0
        public override bool Equals(object obj)
        {
            UniformValueFloat3 o = obj as UniformValueFloat3;

            if (o == null)
            {
                return(false);
            }
            return(X == o.X && Y == o.Y && Z == o.Z);
        }
Example #2
0
        public void Set(IUniformValue source)
        {
            UniformValueFloat3 other = source as UniformValueFloat3;

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