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

Method setZero

packages/melonjs/src/math/vector3d.ts:48–50  ·  view source on GitHub ↗

* set the Vector x and y properties to 0 * @returns Reference to this object for method chaining

()

Source from the content-addressed store, hash-verified

46 * @returns Reference to this object for method chaining
47 */
48 setZero() {
49 return this.set(0, 0, 0);
50 }
51
52 /**
53 * set the Vector x and y properties using the passed vector

Callers 2

updateMethod · 0.45
destroyMethod · 0.45

Calls 1

setMethod · 0.95

Tested by

no test coverage detected