Function ccpPerp

#include <Geode/cocos/support/CCPointExtension.h>cocos2d::CCPointccpPerp()

Since v0.7.2

Calculates perpendicular of v, rotated 90 degrees counter-clockwise – cross(v, perp(v)) >= 0

Return value
CCPoint
Examples0