Skip to content

Commit 65c419d

Browse files
committed
Update hollow-cylinder.html
1 parent 5ae0d4b commit 65c419d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/examples/hollow-cylinder.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
const mesh = new THREE.Mesh(geo, mat)
8585
geo.translate(0, 0, -1) // somehow this has an offset as well :/
8686
mesh.rotateX(Math.PI / 2)
87+
mesh.rotateY(Math.PI / 4)
8788
mesh.position.y = 15
8889
scene.add(mesh)
8990
physics.add.existing(mesh, { shape: 'hacd' })

0 commit comments

Comments
 (0)