Permalink
Browse files

mousedown handler also missing point reference ..

  • Loading branch information...
1 parent 605475d commit 6f43607341580ff46be9bf6a5c42e6217eff5c2b @einaros committed Oct 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/app.js
View
@@ -137,8 +137,8 @@
var intersects = ray.intersectScene(scene);
if (intersects.length > 0) {
var intersector = intersects[0];
- px = intersector.x;
- pz = intersector.z;
+ px = intersector.point.x;
+ pz = intersector.point.z;
}
}

0 comments on commit 6f43607

Please sign in to comment.