MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / sub

Method sub

examples/extern/gmath.bundle.js:391–398  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

389 return new Vector3(this.x + x, this.y + y, this.z + z);
390 }
391 sub(other) {
392 const { x , y , z } = typeof other === "number" ? {
393 x: other,
394 y: other,
395 z: other
396 } : other;
397 return new Vector3(this.x - x, this.y - y, this.z - z);
398 }
399 mul(other) {
400 const { x , y , z } = typeof other === "number" ? {
401 x: other,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected