merge vertices of example

This commit is contained in:
casperlamboo 2017-07-28 10:48:46 +02:00
parent 138a1faa7e
commit a19ffbffab

View File

@ -9,6 +9,7 @@ const settings = {
}; };
const geometry = new THREE.TorusGeometry(20, 10, 30, 30).clone(); const geometry = new THREE.TorusGeometry(20, 10, 30, 30).clone();
geometry.mergeVertices();
const onProgress = ({ progress: { done, total, action } }) => { const onProgress = ({ progress: { done, total, action } }) => {
const percentage = `${(done / total * 100).toFixed()}%` const percentage = `${(done / total * 100).toFixed()}%`