MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / tick

Function tick

test/minimal_webgl/webgl.c:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102typedef void (*tick_func)(double t, double dt);
103
104static bool tick(double time, void *userData)
105{
106 static double t0;
107 double dt = time - t0;
108 t0 = time;
109 tick_func f = (tick_func)(userData);
110 f(time, dt);
111 return true;
112}
113
114void clear_screen(float r, float g, float b, float a)
115{

Callers

nothing calls this directly

Calls 1

fFunction · 0.50

Tested by

no test coverage detected