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

Method add

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

Source from the content-addressed store, hash-verified

559 return this;
560 }
561 add(other) {
562 const { x , y , z , w: w4 } = typeof other === "number" ? {
563 x: other,
564 y: other,
565 z: other,
566 w: other
567 } : other;
568 return new Vector4(this.x + x, this.y + y, this.z + z, this.w + w4);
569 }
570 sub(other) {
571 const { x , y , z , w: w5 } = typeof other === "number" ? {
572 x: other,

Callers 1

lerpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected