MCPcopy
hub / github.com/bgstaal/multipleWindow3dScene / getTime

Function getTime

main.js:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24// get time in seconds since beginning of the day (so that all windows use the same time)
25function getTime ()
26{
27 return (new Date().getTime() - today) / 1000.0;
28}
29
30
31if (new URLSearchParams(window.location.search).get("clear"))

Callers 2

main.jsFile · 0.85
renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected