Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepNotesApp/DeepNotes
/ dot
Method
dot
packages/@stdlib/misc/src/vec2.ts:51–53 ·
view source on GitHub ↗
(vec: Vec2)
Source
from the content-addressed store, hash-verified
49
}
50
51
dot(vec: Vec2): number {
52
return
this.x * vec.x + this.y * vec.y;
53
}
54
cross(vec: Vec2): number {
55
return
this.x * vec.y - this.y * vec.x;
56
}
Callers
4
length
Method · 0.95
angleTo
Method · 0.95
cosineTo
Method · 0.95
sqr
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected