R/cpSpace.R
cpSpaceGetCurrentTimeStep.Rd
Returns the current (or most recent) time step used with the given space. Useful from callbacks if your time step is not a compile-time global.
cpSpaceGetCurrentTimeStep(space)
space | [ |
---|
[cpFloat
]
C function prototype: CP_EXPORT cpFloat cpSpaceGetCurrentTimeStep(const cpSpace *space);