728x90 AdSpace

Latest Article

Converting the objective C code to C++ CGPointEqualToPoint cocos2d-x Example





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)
no image
  • Title : Converting the objective C code to C++ CGPointEqualToPoint cocos2d-x Example
  • Posted by :
  • Date : 11:09
  • Labels :





  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Top