(vertices)
| 380 | |
| 381 | // Clone array and all vertices. |
| 382 | function cloneVertices(vertices) { |
| 383 | return vertices.map(v => ({ x: v.x, y: v.y, z: v.z })); |
| 384 | } |
| 385 | |
| 386 | // Copy vertex data from one array into another. |
| 387 | // Arrays must be the same length. |
no outgoing calls
no test coverage detected