Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DjDeveloperr/deno_desktop
/ midpoint
Method
midpoint
examples/extern/gmath.bundle.js:745–747 ·
view source on GitHub ↗
(other)
Source
from the content-addressed store, hash-verified
743
return
new
Vector2(-this.x, -this.y);
744
}
745
midpoint(other) {
746
return
other.sub(this).div(2).add(this);
747
}
748
eq(other) {
749
return
this.x === other.x && this.y === other.y;
750
}
Callers
nothing calls this directly
Calls
3
add
Method · 0.45
div
Method · 0.45
sub
Method · 0.45
Tested by
no test coverage detected