Function ccpRotateByAngle

#include <Geode/cocos/support/CCPointExtension.h>cocos2d::CCPointccpRotateByAngle(,,
floatangle
)

Since v0.99.1

Rotates a point counter clockwise by the angle around a pivot

Parameters

v

is the point to rotate

pivot

is the pivot, naturally

angle

is the angle of rotation cw in radians
Return value
the rotated point
Examples0