Monthly Archives: June 2008

Fine Gems


  An exciting new package arrived on my doorstep this week: a copy of Best of Game Programming Gems, edited by my friend Mark DeLoura. I’ve contributed many gems to this series over the years, and I edited the networking and … Continue reading

Posted in Game Programming | Leave a comment

Const input parameters and typedefs


  In good API design, one specifies unchangeable data that’s passed by pointer as const:      void foo( const Stuff* pConstantStuff );   The compiler will guarantee that the "Stuff" pointed to by pConstantStuff is not modified by foo(). … Continue reading

Posted in C++ | 1 Comment