diff options
author | hwc487 | 2012-04-04 16:29:16 -0700 |
---|---|---|
committer | hwc487 | 2012-04-04 16:29:16 -0700 |
commit | 16f62ca09cc428043e8fef8bdeea11a989e62bc0 (patch) | |
tree | 75b524b9d2731ca8683f5318a236425e0b566406 /js/tools/modifier-tool-base.js | |
parent | b6fa38e2680ccce73f4a195f9adffa552f1d237c (diff) | |
download | ninja-16f62ca09cc428043e8fef8bdeea11a989e62bc0.tar.gz |
Cap fix for vecUtils.
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index e684f58a..b6589cba 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -177,7 +177,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
177 | } | 177 | } |
178 | 178 | ||
179 | // only do quadrant snapping if the 4 corners of the element are in the drag plane | 179 | // only do quadrant snapping if the 4 corners of the element are in the drag plane |
180 | var sign = MathUtils.fpSign( VecUtils.vecDot(3,this._dragPlane,[0,0,1]) + this._dragPlane[3] - 1.0); | 180 | var sign = MathUtils.fpSign( vecUtils.vecDot(3,this._dragPlane,[0,0,1]) + this._dragPlane[3] - 1.0); |
181 | this._shouldUseQuadPt = (sign == 0) | 181 | this._shouldUseQuadPt = (sign == 0) |
182 | 182 | ||
183 | var wpHitRec = hitRec.convertToWorkingPlane( this._dragPlane ); | 183 | var wpHitRec = hitRec.convertToWorkingPlane( this._dragPlane ); |