diff options
author | Jose Antonio Marquez | 2012-02-28 15:15:12 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-28 15:15:12 -0800 |
commit | da83f44b0ecf379b0950a88d1c378fbedb80e386 (patch) | |
tree | c294662148907b6d496afee3dea1c03f18491680 /js/helper-classes/RDGE/GLAnchorPoint.js | |
parent | b799b7cf3a422f407045c52a4c6a61756d1ea096 (diff) | |
parent | 676b4e2d7091ac63ce06f51be686b902b940bfff (diff) | |
download | ninja-da83f44b0ecf379b0950a88d1c378fbedb80e386.tar.gz |
Merge branch 'refs/heads/integration-candidate' into FileIO-Build-Candidate
Diffstat (limited to 'js/helper-classes/RDGE/GLAnchorPoint.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLAnchorPoint.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/GLAnchorPoint.js b/js/helper-classes/RDGE/GLAnchorPoint.js index 716f59d4..c3e95b34 100755 --- a/js/helper-classes/RDGE/GLAnchorPoint.js +++ b/js/helper-classes/RDGE/GLAnchorPoint.js | |||
@@ -133,6 +133,13 @@ GLAnchorPoint.prototype.translateAll = function (x, y, z) { | |||
133 | } | 133 | } |
134 | 134 | ||
135 | 135 | ||
136 | GLAnchorPoint.prototype.scaleAll = function(sx,sy,sz){ | ||
137 | this._x *= sx;this._prevX *= sx;this._nextX *= sx; | ||
138 | this._y *= sy;this._prevY *= sy;this._nextY *= sy; | ||
139 | this._z *= sz;this._prevZ *= sz;this._nextZ *= sz; | ||
140 | } | ||
141 | |||
142 | |||
136 | // ********* getters ********** | 143 | // ********* getters ********** |
137 | GLAnchorPoint.prototype.getPosX = function () { return this._x; } | 144 | GLAnchorPoint.prototype.getPosX = function () { return this._x; } |
138 | GLAnchorPoint.prototype.getPosY = function () { return this._y; } | 145 | GLAnchorPoint.prototype.getPosY = function () { return this._y; } |