(degrees:number, axis:Vector3D, pivotPoint:Vector3D = null)
| 236 | } |
| 237 | |
| 238 | public prependRotation(degrees:number, axis:Vector3D, pivotPoint:Vector3D = null):void { |
| 239 | if (pivotPoint !== null) { |
| 240 | this.prependTranslation(pivotPoint.x, pivotPoint.y, pivotPoint.z); |
| 241 | } |
| 242 | this._data = this.dotProduct(this._data, this.rotationMatrix(degrees * Math.PI / 180, axis)); |
| 243 | if (pivotPoint !== null) { |
| 244 | this.prependTranslation(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | public prependTranslation(x:number, y:number, z:number):void { |
| 249 | this._data = this.dotProduct(this._data, [ |
nothing calls this directly
no test coverage detected