PerpCCW#
- 
template<typename T>
 XVector2<T> PerpCCW(const XVector2<T> &v)#
- Returns the counter-clockwise perpendicular vector. - For a vector (x, y), returns (-y, x). - Template Parameters:
- T – The component type of the vector. 
- Parameters:
- v – [in] The input vector. 
- Returns:
- A new XVector2 rotated 90 degrees counter-clockwise.