MCPcopy Create free account
hub / github.com/jabbany/CommentCoreLibrary / prependScale

Method prependScale

src/scripting/api/Display/Matrix.ts:257–264  ·  view source on GitHub ↗
(sX:number, sY:number, sZ:number)

Source from the content-addressed store, hash-verified

255 }
256
257 public prependScale(sX:number, sY:number, sZ:number):void{
258 this._data = this.dotProduct(this._data, [
259 sX, 0, 0, 0,
260 0, sY, 0, 0,
261 0, 0, sZ, 0,
262 0, 0, 0, 1
263 ]);
264 }
265
266 public transformVector(v:Vector3D):Vector3D {
267 var rx = this._data[0] * v.x + this._data[1] * v.y +

Callers

nothing calls this directly

Calls 1

dotProductMethod · 0.95

Tested by

no test coverage detected