MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / operator -

Function operator -

TSVector2D.h:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 /// \related Vector2D
195
196 inline Vector2D operator -(const Vector2D& v)
197 {
198 return (Vector2D(-v.x, -v.y));
199 }
200
201 inline Vector2D operator +(const Vector2D& a, const Vector2D& b)
202 {

Callers

nothing calls this directly

Calls 2

Vector2DClass · 0.85
Point2DClass · 0.85

Tested by

no test coverage detected