A question of function design?

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 10:03:47 PDT 2016


On Friday, 28 October 2016 at 14:12:53 UTC, Mike Parker wrote:
> On Friday, 28 October 2016 at 13:19:19 UTC, WhatMeWorry wrote:
>
>> [...]
>
> I generally use GLFW event callbacks to populate an event queue 
> with custom event types, then process the queue and handle 
> events elsewhere. That way, the callbacks need no nothing at 
> all about the game code.
>
> [...]

Thanks!  I'll study this code.  I guess APIs can only give you so 
much.


More information about the Digitalmars-d-learn mailing list