Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
lerp
Method · 0.95
grow
Method · 0.95
_hmgetDatabase
Method · 0.45
patch
Method · 0.45
addUpdateListener
Method · 0.45
observeResize
Function · 0.45
size
Method · 0.45
grow
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected