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

Method setZero

packages/melonjs/src/math/observableVector3d.ts:149–151  ·  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

147 * @returns Reference to this object for method chaining
148 */
149 setZero() {
150 return this.set(0, 0, 0);
151 }
152
153 /**
154 * set the Vector x and y properties using the passed vector

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected