Example #1
0
        public InterpolationMemory clone()
        {
            InterpolationMemory memory = new InterpolationMemory();

            memory.vertices = new Vector3[size];
            memory.uv       = new Vector3[size];
            memory.normals  = new Vector3[size];
            memory.size     = size;
            for (int i = 0; i < size; i++)
            {
                memory.vertices[i] = vertices[i];
                memory.normals[i]  = normals[i];
                memory.uv[i]       = uv[i];
            }
            return(memory);
        }