Пример #1
0
        public override bool Equals(object obj)
        {
            UniformValueMatrix o = obj as UniformValueMatrix;

            if (o == null)
            {
                return(false);
            }
            return(M == o.M && transpose == o.transpose);
        }
Пример #2
0
        public void Set(IUniformValue source)
        {
            UniformValueMatrix other = source as UniformValueMatrix;

            if (other == null)
            {
                return;
            }
            M         = other.M;
            transpose = other.transpose;
        }