plane in lua and cocos2d-x