There was an error while loading. Please reload this page.
1 parent c1d2638 commit a710e19Copy full SHA for a710e19
1 file changed
src/Processing_api.h
@@ -1,4 +1,6 @@
1
-// Processing_api.h
+/
2
+inline float deltaTime() { return ::Processing::PApplet::g_papplet ? ::Processing::PApplet::g_papplet->deltaTime : 0.016f; }
3
+/Processing_api.h
4
// Included in Sketch_run.cpp to make Processing API available to user-defined
5
// classes inside sketches (which don't inherit from PApplet).
6
#pragma once
0 commit comments