MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / mul

Method mul

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

Source from the content-addressed store, hash-verified

29 return new Vec2(this.x - vec.x, this.y - vec.y);
30 }
31 mul(vec: Vec2): Vec2 {
32 return new Vec2(this.x * vec.x, this.y * vec.y);
33 }
34 div(vec: Vec2): Vec2 {
35 return new Vec2(this.x / vec.x, this.y / vec.y);
36 }

Callers 6

growMethod · 0.80
NoteResizingClass · 0.80
constructorMethod · 0.80
_dragOutMethod · 0.80
createMethod · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected