Skip to content

Commit

Permalink
fixed error in collision bbox code
Browse files Browse the repository at this point in the history
  • Loading branch information
odestcj committed Apr 28, 2014
1 parent d329848 commit 2a1b34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ <h3>First step: add collision detection</h3>
<pre><code data-language="javascript">
// bounding box of robot link in local link coordinates
robot.links[x].bbox = new THREE.Box3;
robot.links[x].bbox = robot.links[x].bbox.setFromPoints(robot.links[robot.base].geom.geometry.vertices);
robot.links[x].bbox = robot.links[x].bbox.setFromPoints(robot.links[x].geom.geometry.vertices);
</code></pre>

<p>
Expand Down

0 comments on commit 2a1b34a

Please sign in to comment.