Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteArena/box2d
/ Reset
Method
Reset
CommonB2Timer.go:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
func
(timer *B2Timer) Reset() {
26
timer.m_start = time.Now()
27
}
28
29
func
(timer B2Timer) GetMilliseconds() float64 {
30
return
time.Now().Sub(timer.m_start).Seconds() * 1000
Callers
2
MakeB2Timer
Function · 0.95
Solve
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected