Jump to content

June 2014 »

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Recent Entries

Recent Entries

View more

Journal of Aardvajk

4: Adsense

Varadic templates and signals/slots

Been playing around with a typesafe signal/slot system (yes another one) using varadic templates tonight. Its so much cleaner than the existing approaches pre-C++0x. It's a real demonstration of the usefulness of this awesome new feature:#include <iostream>#include <vector>#include <string>template<class... Args> class Sign...

Improved Edge Shimmy



Decided to rip out the grab and shimmy system and start again because the previous version was buggy and wouldn't cope with corners very well. It is important to me to maintain a smooth velocity as you shimmy from one shape to another and this was impossible with the old system.

The approach now is to use a si...