Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DjDeveloperr/deno_desktop
/ clamp
Method
clamp
examples/extern/gmath.bundle.js:544–546 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
542
return
new
Vector3(this.x, this.y, this.z);
543
}
544
clamp(length) {
545
return
this.normal().mul(length);
546
}
547
dot(other) {
548
const
{ x , y , z , w: w3 } = this.mul(other);
549
return
x + y + z + w3;
Callers
nothing calls this directly
Calls
2
normal
Method · 0.95
mul
Method · 0.45
Tested by
no test coverage detected