mirror of https://github.com/axmolengine/axmol.git
fix CCPointMake marco in CCPointExtension.h. The bug is reported in forum http://www.cocos2d-x.org/boards/6/topics/3730
This commit is contained in:
parent
ae056a07b1
commit
8082b91c0e
|
@ -52,7 +52,7 @@ namespace cocos2d {
|
|||
@return CCPoint
|
||||
@since v0.7.2
|
||||
*/
|
||||
#define ccp(__X__,__Y__) cocos2d::CCPointMake((float)__X__, (float)__Y__)
|
||||
#define ccp(__X__,__Y__) cocos2d::CCPointMake((float)(__X__), (float)(__Y__))
|
||||
|
||||
/** Returns opposite of point.
|
||||
@return CCPoint
|
||||
|
|
Loading…
Reference in New Issue