Skip to content

Commit

Permalink
clean up (mrdoob#24349)
Browse files Browse the repository at this point in the history
  • Loading branch information
WestLangley authored and abernier committed Sep 16, 2022
1 parent bb71740 commit b0fea8a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/jsm/geometries/ConvexGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ConvexGeometry extends BufferGeometry {

if ( ConvexHull === undefined ) {

console.error( 'THREE.ConvexBufferGeometry: ConvexBufferGeometry relies on ConvexHull' );
console.error( 'THREE.ConvexGeometry: ConvexGeometry relies on ConvexHull' );

}

Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_raycaster_bvh.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
} ) );

sphereInstance = new THREE.InstancedMesh(
new THREE.SphereBufferGeometry(),
new THREE.SphereGeometry(),
new THREE.MeshBasicMaterial( { color: RAY_COLOR } ),
2 * MAX_RAYS
);
Expand Down
2 changes: 1 addition & 1 deletion examples/webxr_ar_lighting.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

//

const ballGeometry = new THREE.SphereBufferGeometry( 0.175, 32, 32 );
const ballGeometry = new THREE.SphereGeometry( 0.175, 32, 32 );
const ballGroup = new THREE.Group();
ballGroup.position.z = - 2;

Expand Down
2 changes: 1 addition & 1 deletion manual/zh/optimize-lots-of-objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h1>大量对象的优化</h1>
<pre class="prettyprint showlinemods notranslate lang-js" translate="no">{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({map: texture});
scene.add(new THREE.Mesh(geometry, material));
}
Expand Down

0 comments on commit b0fea8a

Please sign in to comment.