Closed Robadob closed 8 years ago
Not technically in progress, but this should be a fast change. I should get it done over the weekend after CUDA interop.
With this change I think I'll also change
Snip, done this straight into master. d30b2fcupdate()
so it passes a value to indicate the time since the last call to update()
.
3b883fe
Provide the facility for scenes to hook into the visualisation key press handler (block unwanted default key presses, and add custom actions).
Can't just pass a generic function pointer, because member functions pass their own pointer as the first variable, this would require using a static member function, global function or a lambda, none of which are desirable solutions. Instead will have to hook it up the same as
update()
is already called.This would be useful within SP-Bench for toggling the render of the PBM.