Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DjDeveloperr/deno_desktop
/ fromHomogeneous
Method
fromHomogeneous
examples/extern/gmath.bundle.js:324–326 ·
view source on GitHub ↗
(vector)
Source
from the content-addressed store, hash-verified
322
return
new
Vector3(0, 0, 1);
323
}
324
static fromHomogeneous(vector) {
325
return
vector.trunc().mul(1 / vector.w);
326
}
327
constructor(x, y, z){
328
if
(x !== undefined) {
329
this.x = x;
Callers
nothing calls this directly
Calls
2
mul
Method · 0.45
trunc
Method · 0.45
Tested by
no test coverage detected