 = createGeometry(mesh.vertices, mesh.indices);
              meshContext.mesh.geometry.dispose();
              meshContext.mesh.geometry = geometry;
              meshContext.wireframe.geometry.dispose();
              meshContext.wireframe.geometry = geometry;
            }
          } else {
            // new mesh

            // Create geometry:
            const geometry = createGeometry(mesh.vertices, mesh.indices);

            wireframeMesh = new THREE.Mesh(geometry, wireframeMaterial);
          