Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ Complement
Function
Complement
TSVector2D.h:546–549 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
544
/// \related Vector2D
545
546
inline Vector2D Complement(const Vector2D& v)
547
{
548
return (Vector2D(-v.y, v.x));
549
}
550
551
inline Vector2D operator !(const Vector2D& v) {return (Complement(v));}
552
Callers
1
operator !
Function · 0.70
Calls
1
Vector2D
Class · 0.85
Tested by
no test coverage detected