Skip to content

Commit 9349bdf

Browse files
committed
Add deltaTime forwarder to Processing_api.h
1 parent a710e19 commit 9349bdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Processing_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/
22
inline float deltaTime() { return ::Processing::PApplet::g_papplet ? ::Processing::PApplet::g_papplet->deltaTime : 0.016f; }
3-
/Processing_api.h
3+
/ Processing_api.h
44
// Included in Sketch_run.cpp to make Processing API available to user-defined
55
// classes inside sketches (which don't inherit from PApplet).
66
#pragma once

0 commit comments

Comments
 (0)