is there any particular reason the CCPoint class , -, * & / operators are not overloaded?
The implementation is really easy, and it really cleans up the code a lot while makes the code less error prone. It’s also consistent with box2d, that has the operators overloaded for b2Vec2.
Doesn’t everybody prefer this:
point 4 = * 2 (point2 + point3) * 2;
instead of this?
point 4 = ccpAdd(ccpMult(ccpAdd(point1 + point2), 2), ccpMult(ccpAdd(point2 + point3), 2));
If you are not against it I could do a pull request