Converting the objective C code to C++ in Coco2d-x CGPointEqualToPoint CGPointEqualToPoint ObjectC Alternative Function in C++ converting the objective C code to C++.
There happens to be a method in the tutorial
return CGPointEqualToPoint(self.position, other.position);
which returns a boolean value.
Solution is :
CCPoint::CCPointEqualToPoint( pointA,pointB)
0 comments:
Post a Comment