Skip to content

Commit

Permalink
Merge pull request #1284 from mattrossman/matt/node-constraint-examples
Browse files Browse the repository at this point in the history
Examples: Replace ConeBufferGeometry with ConeGeometry
  • Loading branch information
0b5vr authored Sep 6, 2023
2 parents fc417d5 + b729739 commit 358ff2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/three-vrm-node-constraint/examples/aim.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
scene.add( light );

// objects
const geometry = new THREE.ConeBufferGeometry( 0.25, 0.5, 5 );
const geometry = new THREE.ConeGeometry( 0.25, 0.5, 5 );
const material = new THREE.MeshStandardMaterial( { color: 0xbbbbbb } );

const upperArm = new THREE.Mesh( geometry, material );
Expand Down
2 changes: 1 addition & 1 deletion packages/three-vrm-node-constraint/examples/roll.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
scene.add( light );

// objects
const geometry = new THREE.ConeBufferGeometry( 0.25, 0.5, 5 );
const geometry = new THREE.ConeGeometry( 0.25, 0.5, 5 );
const material = new THREE.MeshStandardMaterial( { color: 0xbbbbbb } );

const lowerArm = new THREE.Mesh( geometry, material );
Expand Down
2 changes: 1 addition & 1 deletion packages/three-vrm-node-constraint/examples/rotation.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
scene.add( light );

// objects
const geometry = new THREE.ConeBufferGeometry( 0.25, 0.5, 5 );
const geometry = new THREE.ConeGeometry( 0.25, 0.5, 5 );
const material = new THREE.MeshStandardMaterial( { color: 0xbbbbbb } );

const source = new THREE.Mesh( geometry, material );
Expand Down
2 changes: 1 addition & 1 deletion packages/three-vrm-node-constraint/examples/upper-arm.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
scene.add( light );

// objects
const geometry = new THREE.ConeBufferGeometry( 0.25, 0.5, 5 );
const geometry = new THREE.ConeGeometry( 0.25, 0.5, 5 );
const material = new THREE.MeshStandardMaterial( { color: 0xbbbbbb } );

const upperArm = new THREE.Object3D();
Expand Down

0 comments on commit 358ff2a

Please sign in to comment.