#define ccp CCPointMake(...) to cocos2d::CCPointMake(...). Thanks Marat Yakupov's fix. http://www.cocos2d-x.org/boards/6/topics/1200

This commit is contained in:
walzer 2011-04-14 16:15:12 +08:00
parent 932b475170
commit 73f2c5297c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace cocos2d {
@return CCPoint @return CCPoint
@since v0.7.2 @since v0.7.2
*/ */
#define ccp(__X__,__Y__) CCPointMake((float)__X__, (float)__Y__) #define ccp(__X__,__Y__) cocos2d::CCPointMake((float)__X__, (float)__Y__)
/** Returns opposite of point. /** Returns opposite of point.
@return CCPoint @return CCPoint