MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / add

Method add

packages/@stdlib/misc/src/vec2.ts:25–27  ·  view source on GitHub ↗
(vec: Vec2)

Source from the content-addressed store, hash-verified

23 }
24
25 add(vec: Vec2): Vec2 {
26 return new Vec2(this.x + vec.x, this.y + vec.y);
27 }
28 sub(vec: Vec2): Vec2 {
29 return new Vec2(this.x - vec.x, this.y - vec.y);
30 }

Callers 8

lerpMethod · 0.95
growMethod · 0.95
_hmgetDatabaseMethod · 0.45
patchMethod · 0.45
addUpdateListenerMethod · 0.45
observeResizeFunction · 0.45
sizeMethod · 0.45
growMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected