cocos2d-x宏定义
1 ccp : The "ccp" prefix means: "CoCos2d Point"
//查看: ../cocos2d-x-2.2/cocos2dx/support/CCPointExtension.h
/**
* @addtogroup data_structures
* @{
*/
/** Helper macro that creates a CCPoint
@return CCPoint
@since v0.7.2
*/
#define ccp(__X__,__Y__) cocos2d::CCPointMake((float)(__X__), (float)(__Y__))