mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 15:34:57 +01:00
merge vertices of example
This commit is contained in:
parent
138a1faa7e
commit
a19ffbffab
@ -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()}%`
|
||||||
|
Loading…
Reference in New Issue
Block a user