@@ -7,7 +7,7 @@ import {
* A special type of box geometry intended for {@link LineSegments}.
*
* ```js
- * const geometry = new THREE.BoxLineGeometry();
+ * const geometry = new BoxLineGeometry();
* const material = new THREE.LineBasicMaterial( { color: 0x00ff00 } );
* const lines = new THREE.LineSegments( geometry, material );
* scene.add( lines );
@@ -10,7 +10,7 @@ import {
* Reference: [Mesh Generation with Python](https://prideout.net/blog/old/blog/index.html@p=44.html)
- * const geometry = new THREE.ParametricGeometry( klein, 25, 25 );
+ * const geometry = new ParametricGeometry( klein, 25, 25 );
* const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
* const klein = new THREE.Mesh( geometry, material );
* scene.add( klein );
@@ -42,7 +42,7 @@ function getUv( faceDirVector, normal, uvAxis, projectionAxis, radius, sideLengt
* A special type of box geometry with rounded corners and edges.
- * const geometry = new THREE.RoundedBoxGeometry();
+ * const geometry = new RoundedBoxGeometry();
* const material = new THREE.MeshStandardMaterial( { color: 0x00ff00 } );
* const cube = new THREE.Mesh( geometry, material );
* scene.add( cube );