(degrees:number, axis:Vector3D, pivotPoint:Vector3D = null)
| 204 | } |
| 205 | |
| 206 | public appendRotation(degrees:number, axis:Vector3D, pivotPoint:Vector3D = null):void { |
| 207 | if (pivotPoint !== null) { |
| 208 | this.appendTranslation(pivotPoint.x, pivotPoint.y, pivotPoint.z); |
| 209 | } |
| 210 | this._data = this.dotProduct(this.rotationMatrix(degrees * Math.PI / 180, axis), this._data); |
| 211 | if (pivotPoint !== null) { |
| 212 | this.appendTranslation(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z); |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | public appendTranslation(x:number, y:number, z:number):void { |
| 217 | this._data = this.dotProduct([ |
no test coverage detected