MCPcopy Create free account
hub / github.com/melonjs/melonJS / scaleY

Method scaleY

packages/melonjs/src/math/matrix3d.ts:664–666  ·  view source on GitHub ↗

* specifies a 2D scale operation using the [1,sy] scaling vector * @param y - y scaling vector * @returns Reference to this object for method chaining

(y: number)

Source from the content-addressed store, hash-verified

662 * @returns Reference to this object for method chaining
663 */
664 scaleY(y: number) {
665 return this.scale(1, y);
666 }
667
668 /**
669 * rotate this matrix (counter-clockwise) by the specified angle (in radians).

Callers

nothing calls this directly

Calls 1

scaleMethod · 0.95

Tested by

no test coverage detected