Exemplo n.º 1
0
        /// <summary>Transforms all the verts by the given delta matrix. Used during a Paint only.</summary>
        public virtual void ApplyTransform(Matrix4x4 delta, Renderman renderer)
        {
            // Get the first block:
            MeshBlock block = GetFirstBlock(renderer);

            for (int i = 0; i < BlockCount; i++)
            {
                // Transform the verts:
                block.TransformVertices(delta);

                // Seek to the next one:
                block.Next();
            }
        }