Skip to content

Commit f50b11f

Browse files
authored
Update materialBall.js
1 parent 3d9d8bd commit f50b11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/materialBall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ async function init() {
272272
ptRenderer.reset();
273273

274274
} );
275-
envFolder.add( params, 'environmentRotation', 0, 40 ).onChange( v => {
275+
envFolder.add( params, 'environmentRotation', 0, 2 * Math.PI ).onChange( v => {
276276

277277
ptRenderer.material.environmentRotation.setFromMatrix4( new THREE.Matrix4().makeRotationY( v ) );
278278
ptRenderer.reset();

0 commit comments

Comments
 (0)