MCPcopy Create free account
hub / github.com/SFML/SFML / start

Method start

src/SFML/System/Clock.cpp:51–58  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

49
50////////////////////////////////////////////////////////////
51void Clock::start()
52{
53 if (!isRunning())
54 {
55 m_refPoint += priv::ClockImpl::now() - m_stopPoint;
56 m_stopPoint = {};
57 }
58}
59
60
61////////////////////////////////////////////////////////////

Callers 1

Clock.test.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected