Drawing primitives in Cocos2d-x