MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / fromNonuniformScale

Method fromNonuniformScale

examples/extern/gmath.bundle.js:1321–1323  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

1319 return this.fromNonuniformScale(scale, scale);
1320 }
1321 static fromNonuniformScale(x, y) {
1322 return Matrix4.from(x, 0, 0, 0, 0, y, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
1323 }
1324 static lookToRh(eye, dir, up) {
1325 const f = dir.normal();
1326 const s = f.cross(up).normal();

Callers 1

fromScaleMethod · 0.95

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected