Hi, I try to use the CCRectContainsPoint in cocs2d-x_2.0.1, but I receive the error
'CCRectContainsPoint' was not declared in this scope
Why I receive this error.
I try the following example
CCRect cRect = CCRectMake(50, 50, 10, -10);
bool exist = CCRectContainsPoint(cRect, ccp(55, 45));
When I use the cocos2d-x version 0.12.0, this problem don’t occur.