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

Method fromNonuniformScale

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

Source from the content-addressed store, hash-verified

1056 return this.fromNonuniformScale(scale, scale);
1057 }
1058 static fromNonuniformScale(x, y) {
1059 return Matrix3.from(x, 0, 0, 0, y, 0, 0, 0, 1);
1060 }
1061 static fromQuaternion(quaternion) {
1062 const x2 = quaternion.vector.x * 2;
1063 const y2 = quaternion.vector.y * 2;

Callers 1

fromScaleMethod · 0.95

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected