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

Method setTo

src/scripting/api/Display/Matrix.ts:98–100  ·  view source on GitHub ↗
(a:number = 1, b:number = 0, c:number = 0, d:number = 1, tx:number = 0, ty:number = 0)

Source from the content-addressed store, hash-verified

96 }
97
98 public setTo(a:number = 1, b:number = 0, c:number = 0, d:number = 1, tx:number = 0, ty:number = 0):void {
99 this._data = [a, c, tx, b, d, ty, 0, 0, 1];
100 }
101
102 public translate(tX:number, tY:number):void {
103 this._data[2] += tX;

Callers 1

identityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected