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

Method appendTranslation

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

Source from the content-addressed store, hash-verified

214 }
215
216 public appendTranslation(x:number, y:number, z:number):void {
217 this._data = this.dotProduct([
218 1, 0, 0, x,
219 0, 1, 0, y,
220 0, 0, 1, z,
221 0, 0, 0, 1
222 ],this._data);
223 }
224
225 public appendScale(sX:number = 1, sY:number = 1, sZ:number = 1):void{
226 this._data = this.dotProduct([

Callers 2

appendRotationMethod · 0.95
box3dMethod · 0.80

Calls 1

dotProductMethod · 0.95

Tested by

no test coverage detected