前端之家收集整理的这篇文章主要介绍了
Cocos2d-X 学习笔记3 常用宏,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
#define CCLOG(...)
#define CCLOGWARN(...)
#define CCLOGINFO(...)
#define CC_SWAP(x,y)
#define CCRANDOM_MINUS1_1()
#define CCRANDOM_0_1()
#define CC_DEGREES_TO_RADIANS(__ANGLE__)
#define CC_RADIANS_TO_DEGREES(__ANGLE__)
#define CC_BLEND_SRC
#define CC_BLEND_DST
#define CC_DIRECTOR_INIT()
#define CC_NODE_DRAW_SETUP()
#define CC_DIRECTOR_END()
#define CC_CONTENT_SCALE_FACTOR()
#define CC_RECT_PIXELS_TO_POINTS(__rect_in_pixels__)
#define CC_RECT_POINTS_TO_PIXELS(__rect_in_points_points__)
#define CC_POINT_PIXELS_TO_POINTS(__pixels__)
#define CC_POINT_POINTS_TO_PIXELS(__points__)
#define CC_SIZE_PIXELS_TO_POINTS(__size_in_pixels__)
#define CC_SIZE_POINTS_TO_PIXELS(__size_in_points__)
#define CC_INCREMENT_GL_DRAWS(__n__)
#define CCAnimationFrameDisplayedNotification
原文链接:https://www.f2er.com/cocos2dx/347033.html