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

Method scaleV

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

* adds a 2D scaling transformation. * @param v - scaling vector * @returns Reference to this object for method chaining

(v: Vector3d)

Source from the content-addressed store, hash-verified

644 * @returns Reference to this object for method chaining
645 */
646 scaleV(v: Vector3d) {
647 return this.scale(v.x, v.y, v.z);
648 }
649
650 /**
651 * specifies a 2D scale operation using the [sx, 1] scaling vector

Callers 6

polygon.spec.jsFile · 0.45
vector2d.spec.tsFile · 0.45
ellipse.spec.tsFile · 0.45
vector3d.spec.tsFile · 0.45

Calls 1

scaleMethod · 0.95

Tested by

no test coverage detected