diff options
Diffstat (limited to 'js/lib/geom/rectangle.js')
-rwxr-xr-x | js/lib/geom/rectangle.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/lib/geom/rectangle.js b/js/lib/geom/rectangle.js index d9f1f0b1..41c51e2f 100755 --- a/js/lib/geom/rectangle.js +++ b/js/lib/geom/rectangle.js | |||
@@ -693,7 +693,6 @@ var Rectangle = function GLRectangle() { | |||
693 | var projPt = MathUtils.vecIntersectPlane ( pt, dir, plane ); | 693 | var projPt = MathUtils.vecIntersectPlane ( pt, dir, plane ); |
694 | 694 | ||
695 | // transform the projected point back to the XY plane | 695 | // transform the projected point back to the XY plane |
696 | //var invMat = mat.inverse(); | ||
697 | var invMat = glmat4.inverse(mat, []); | 696 | var invMat = glmat4.inverse(mat, []); |
698 | var planePt = MathUtils.transformPoint( projPt, invMat ); | 697 | var planePt = MathUtils.transformPoint( projPt, invMat ); |
699 | 698 | ||