MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / prependTranslation

Method prependTranslation

src/scripting/api/Display/Matrix.ts:248–255  ·  view source on GitHub ↗
(x:number, y:number, z:number)

Source from the content-addressed store, hash-verified

246 }
247
248 public prependTranslation(x:number, y:number, z:number):void {
249 this._data = this.dotProduct(this._data, [
250 1, 0, 0, x,
251 0, 1, 0, y,
252 0, 0, 1, z,
253 0, 0, 0, 1
254 ]);
255 }
256
257 public prependScale(sX:number, sY:number, sZ:number):void{
258 this._data = this.dotProduct(this._data, [

Callers 1

prependRotationMethod · 0.95

Calls 1

dotProductMethod · 0.95

Tested by

no test coverage detected