Skip to content

Commit

Permalink
Docs: Clean up (#25482)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan authored Feb 13, 2023
1 parent 6b77b6e commit 1703232
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions docs/scenes/geometry-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -726,15 +726,6 @@

}

if ( selectedGeometry === 'TextGeometry' ) {

return { fixed: true };

}

//No configuration options
return {};

}

//
Expand Down Expand Up @@ -787,20 +778,16 @@
group.add( new LineSegments( geometry, lineMaterial ) );
group.add( new Mesh( geometry, meshMaterial ) );

const options = chooseFromHash( group );
chooseFromHash( group );

scene.add( group );

function render() {

requestAnimationFrame( render );

if ( ! options.fixed ) {

group.rotation.x += 0.005;
group.rotation.y += 0.005;

}
group.rotation.x += 0.005;
group.rotation.y += 0.005;

renderer.render( scene, camera );

Expand Down

0 comments on commit 1703232

Please sign in to comment.