I an trying to figure out how ccpSub is implemented. Can someone point out the code for this ?
Basically, I came across this solution for getting the angle between 2 coordinates but its using cocos2d. I dont want the hassle of downloading the whole library just for this one function. Get angle from 2 positions
Unfortunately, I am a bit lost as to how ccpSub is implemented in xcode ? Hope someone could guide me.
Thanks.