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

Method scale

src/scripting/api/Display/Matrix.ts:115–121  ·  view source on GitHub ↗
(sx:number, sy:number)

Source from the content-addressed store, hash-verified

113 }
114
115 public scale(sx:number, sy:number):void {
116 this._data = this.dotProduct([
117 sx, 0, 0,
118 0, sy, 0,
119 0, 0, 1
120 ]);
121 }
122
123 public identity():void {
124 this.setTo(1, 0, 0, 1, 0, 0);

Callers 1

createBoxMethod · 0.95

Calls 1

dotProductMethod · 0.95

Tested by

no test coverage detected