diff options
author | Jose Antonio Marquez | 2012-03-06 17:02:44 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-06 17:02:44 -0800 |
commit | fca92904597895675ddd216399cd235f3c5a7cfa (patch) | |
tree | 77c30a958c0283a6aa208b93640c6008eeb943e2 /js/helper-classes/3D/element-planes.js | |
parent | ec7cbc95de031d2be667c2a8629a9d63e91f7e1a (diff) | |
parent | eebb7de4d19cddec9c763a073d8cf41d76fe70f7 (diff) | |
download | ninja-fca92904597895675ddd216399cd235f3c5a7cfa.tar.gz |
Merge branch 'refs/heads/FileIO' into FileIO-Build-Candidate
Diffstat (limited to 'js/helper-classes/3D/element-planes.js')
-rwxr-xr-x | js/helper-classes/3D/element-planes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/3D/element-planes.js b/js/helper-classes/3D/element-planes.js index 7ccf311e..38a7bf47 100755 --- a/js/helper-classes/3D/element-planes.js +++ b/js/helper-classes/3D/element-planes.js | |||
@@ -88,7 +88,7 @@ var ElementPlanes = exports.ElementPlanes = Object.create(Object.prototype, { | |||
88 | // create the plane equation | 88 | // create the plane equation |
89 | //var d = -( nrm.dot( this._boundaryPts[0]) ); | 89 | //var d = -( nrm.dot( this._boundaryPts[0]) ); |
90 | var d = -vecUtils.vecDot(3, nrm, this._boundaryPts[0]); | 90 | var d = -vecUtils.vecDot(3, nrm, this._boundaryPts[0]); |
91 | var planeEq = Vector.create( [nrm[0], nrm[1], nrm[2], d] ); | 91 | var planeEq = [nrm[0], nrm[1], nrm[2], d] ; |
92 | this.setPlaneEq( planeEq ); | 92 | this.setPlaneEq( planeEq ); |
93 | 93 | ||
94 | // get the 2D rectangle | 94 | // get the 2D rectangle |