Skip to content

Commit

Permalink
CubeGeometry is deprecated, renamed to BoxGeometry
Browse files Browse the repository at this point in the history
  • Loading branch information
nolman committed Jul 28, 2014
1 parent bf1ee7a commit 1a74ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physi.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ window.Physijs = (function() {

case 'slider':
marker = new THREE.Mesh(
new THREE.CubeGeometry( 10, 1, 1 ),
new THREE.BoxGeometry( 10, 1, 1 ),
new THREE.MeshNormalMaterial
);
marker.position.copy( constraint.positiona );
Expand Down

0 comments on commit 1a74ac2

Please sign in to comment.