diff --git a/examples/animators/emissive-pulse.html b/examples/animators/emissive-pulse.html index 547e6eb..dc8b29b 100644 --- a/examples/animators/emissive-pulse.html +++ b/examples/animators/emissive-pulse.html @@ -18,7 +18,7 @@ diff --git a/examples/effects/leaf.html b/examples/effects/leaf.html index 7c2ff79..35c1b37 100644 --- a/examples/effects/leaf.html +++ b/examples/effects/leaf.html @@ -18,7 +18,7 @@ diff --git a/examples/factory/row-of-books-by-count.html b/examples/factory/row-of-books-by-count.html index f5d2ff2..cc5b38b 100644 --- a/examples/factory/row-of-books-by-count.html +++ b/examples/factory/row-of-books-by-count.html @@ -18,7 +18,7 @@ diff --git a/examples/factory/row-of-books-by-length.html b/examples/factory/row-of-books-by-length.html index b08389f..578e5c3 100644 --- a/examples/factory/row-of-books-by-length.html +++ b/examples/factory/row-of-books-by-length.html @@ -18,7 +18,7 @@ diff --git a/examples/models/books/book.html b/examples/models/books/book.html index 83f7897..65c9416 100644 --- a/examples/models/books/book.html +++ b/examples/models/books/book.html @@ -17,14 +17,14 @@ diff --git a/examples/models/bottles/jar.html b/examples/models/bottles/jar.html index 785a034..027869a 100644 --- a/examples/models/bottles/jar.html +++ b/examples/models/bottles/jar.html @@ -15,14 +15,14 @@ diff --git a/examples/models/bottles/potion-bottle.html b/examples/models/bottles/potion-bottle.html index 184afaf..2826a23 100644 --- a/examples/models/bottles/potion-bottle.html +++ b/examples/models/bottles/potion-bottle.html @@ -15,14 +15,14 @@ diff --git a/examples/models/bottles/wine-bottle.html b/examples/models/bottles/wine-bottle.html index 73b80d4..8e3298c 100644 --- a/examples/models/bottles/wine-bottle.html +++ b/examples/models/bottles/wine-bottle.html @@ -15,7 +15,7 @@ diff --git a/examples/models/cemetery/cross-headstone.html b/examples/models/cemetery/cross-headstone.html index fa5755a..62f4a03 100644 --- a/examples/models/cemetery/cross-headstone.html +++ b/examples/models/cemetery/cross-headstone.html @@ -16,14 +16,14 @@ diff --git a/examples/models/cemetery/obelisk-headstone.html b/examples/models/cemetery/obelisk-headstone.html index 57dd01e..7055094 100644 --- a/examples/models/cemetery/obelisk-headstone.html +++ b/examples/models/cemetery/obelisk-headstone.html @@ -16,14 +16,14 @@ diff --git a/examples/models/fence/wrought-iron-bar.html b/examples/models/fence/wrought-iron-bar.html index adbf04f..fca36f1 100644 --- a/examples/models/fence/wrought-iron-bar.html +++ b/examples/models/fence/wrought-iron-bar.html @@ -17,7 +17,7 @@ diff --git a/examples/models/fence/wrought-iron-fence.html b/examples/models/fence/wrought-iron-fence.html index 83fb401..1ae3e73 100644 --- a/examples/models/fence/wrought-iron-fence.html +++ b/examples/models/fence/wrought-iron-fence.html @@ -18,7 +18,7 @@ diff --git a/examples/models/furniture/bookshelf.html b/examples/models/furniture/bookshelf.html index 459a152..0647b22 100644 --- a/examples/models/furniture/bookshelf.html +++ b/examples/models/furniture/bookshelf.html @@ -16,7 +16,7 @@ diff --git a/examples/models/lighting/candle.html b/examples/models/lighting/candle.html index c1faf8f..e30da86 100644 --- a/examples/models/lighting/candle.html +++ b/examples/models/lighting/candle.html @@ -16,7 +16,7 @@ diff --git a/examples/models/lighting/flame.html b/examples/models/lighting/flame.html index 5209007..a777333 100644 --- a/examples/models/lighting/flame.html +++ b/examples/models/lighting/flame.html @@ -16,7 +16,7 @@ diff --git a/examples/models/science/erlenmeyer-flask.html b/examples/models/science/erlenmeyer-flask.html index 64d7f21..b0f6ef5 100644 --- a/examples/models/science/erlenmeyer-flask.html +++ b/examples/models/science/erlenmeyer-flask.html @@ -16,7 +16,7 @@ diff --git a/examples/models/science/florence-flask.html b/examples/models/science/florence-flask.html index 597263e..995b677 100644 --- a/examples/models/science/florence-flask.html +++ b/examples/models/science/florence-flask.html @@ -16,7 +16,7 @@ diff --git a/examples/models/science/microscope.html b/examples/models/science/microscope.html index 15bb81d..8046011 100644 --- a/examples/models/science/microscope.html +++ b/examples/models/science/microscope.html @@ -15,14 +15,14 @@ diff --git a/examples/models/science/mortar-and-pestle.html b/examples/models/science/mortar-and-pestle.html index 290db56..b93fc9f 100644 --- a/examples/models/science/mortar-and-pestle.html +++ b/examples/models/science/mortar-and-pestle.html @@ -15,14 +15,14 @@ diff --git a/examples/models/science/panel.html b/examples/models/science/panel.html index daf3894..f1c2496 100644 --- a/examples/models/science/panel.html +++ b/examples/models/science/panel.html @@ -16,7 +16,7 @@ diff --git a/examples/models/science/spiral-tube.html b/examples/models/science/spiral-tube.html index 42f7860..3d9e2eb 100644 --- a/examples/models/science/spiral-tube.html +++ b/examples/models/science/spiral-tube.html @@ -15,14 +15,14 @@ diff --git a/examples/models/science/stand.html b/examples/models/science/stand.html index 7961ff1..5b84657 100644 --- a/examples/models/science/stand.html +++ b/examples/models/science/stand.html @@ -16,7 +16,7 @@ diff --git a/examples/models/science/tesla-coil.html b/examples/models/science/tesla-coil.html index d89a15d..3764984 100644 --- a/examples/models/science/tesla-coil.html +++ b/examples/models/science/tesla-coil.html @@ -15,14 +15,14 @@ diff --git a/examples/reference/interpolate-curve-lathe-catmull-rom.html b/examples/reference/interpolate-curve-lathe-catmull-rom.html index 4f76ca0..63fb0cf 100644 --- a/examples/reference/interpolate-curve-lathe-catmull-rom.html +++ b/examples/reference/interpolate-curve-lathe-catmull-rom.html @@ -18,7 +18,7 @@ import * as THREE from "three"; import GUI from 'lil-gui'; import { createOrbitScene } from "../utils/orbitScene.js"; - import { Easing, centerMesh, interpolateCurve } from "../../src/index.js"; + import { Easing, centerObject, interpolateCurve } from "../../src/index.js"; const { scene } = createOrbitScene(); @@ -64,7 +64,7 @@ const material = new THREE.MeshStandardMaterial({ color: 0x0077ff, metalness: 0.3, roughness: 0.7, side: THREE.DoubleSide }); const latheMesh = new THREE.Mesh(latheGeometry, material); scene.add(latheMesh); - centerMesh(latheMesh); + centerObject(latheMesh); // Create GUI const gui = new GUI(); diff --git a/examples/reference/interpolate-curve-lathe-points.html b/examples/reference/interpolate-curve-lathe-points.html index 65ba524..792652a 100644 --- a/examples/reference/interpolate-curve-lathe-points.html +++ b/examples/reference/interpolate-curve-lathe-points.html @@ -18,7 +18,7 @@ import * as THREE from "three"; import GUI from 'lil-gui'; import { createOrbitScene } from "../utils/orbitScene.js"; - import { Easing, centerMesh, interpolateCurve } from "../../src/index.js"; + import { Easing, centerObject, interpolateCurve } from "../../src/index.js"; const { scene } = createOrbitScene(); @@ -56,7 +56,7 @@ const material = new THREE.MeshStandardMaterial({ color: 0x0077ff, metalness: 0.3, roughness: 0.7, side: THREE.DoubleSide }); const latheMesh = new THREE.Mesh(latheGeometry, material); scene.add(latheMesh); - centerMesh(latheMesh); + centerObject(latheMesh); // Create GUI const gui = new GUI();