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

Method scaleX

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

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

(x: number)

Source from the content-addressed store, hash-verified

653 * @returns Reference to this object for method chaining
654 */
655 scaleX(x: number) {
656 return this.scale(x, 1);
657 }
658
659 /**
660 * specifies a 2D scale operation using the [1,sy] scaling vector

Callers

nothing calls this directly

Calls 1

scaleMethod · 0.95

Tested by

no test coverage detected