Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/SandDance
/ zero
Function
zero
docs/app/js/sanddance-app.js:70038–70042 ·
view source on GitHub ↗
(out)
Source
from the content-addressed store, hash-verified
70036
return
Math.acos(Math.min(Math.max(cosine, -1), 1));
70037
}
70038
function
zero(out) {
70039
out[0] = 0.0;
70040
out[1] = 0.0;
70041
return
out;
70042
}
70043
function
str(a) {
70044
return
"vec2("
+ a[0] +
", "
+ a[1] +
")"
;
70045
}
Callers
1
sanddance-app.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected