Skip to content

Commit 93ea0cd

Browse files
committed
Mad science, potion bottle
1 parent 699afe3 commit 93ea0cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/scenes/mad-science.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import {
2121
Book,
2222
Bookshelf,
23-
Bottle,
2423
BubblingEffect,
2524
Desk,
2625
EmissivePulseEffect,
@@ -31,6 +30,7 @@
3130
MortarAndPestle,
3231
Panel,
3332
PanelLight,
33+
PotionBottle,
3434
Stand,
3535
TestTubeRack,
3636
logarithmicRandomMax,
@@ -123,11 +123,11 @@
123123
book.castShadow = true;
124124
scene.add(book);
125125

126-
const bottle = new Bottle();
127-
bottle.scale.set(0.25, 0.25, 0.25);
128-
bottle.position.set(-0, 3.3, -1);
129-
bottle.castShadow = true;
130-
scene.add(bottle);
126+
const potionBottle = new PotionBottle();
127+
potionBottle.scale.set(0.25, 0.25, 0.25);
128+
potionBottle.position.set(-0, 3.3, -1);
129+
potionBottle.castShadow = true;
130+
scene.add(potionBottle);
131131

132132
const flask = new Flask();
133133
flask.scale.set(0.25, 0.25, 0.25);

0 commit comments

Comments
 (0)