MCPcopy 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

lengthMethod · 0.95
angleToMethod · 0.95
cosineToMethod · 0.95
sqrMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected