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__))

相关文章:

  • 2021-12-14
  • 2022-01-10
  • 2021-11-30
  • 2021-10-29
  • 2021-12-22
  • 2021-12-10
  • 2021-11-18
  • 2021-10-27
猜你喜欢
  • 2021-11-28
  • 2021-09-20
  • 2021-09-04
  • 2021-12-03
  • 2021-07-21
  • 2021-11-28
相关资源
相似解决方案