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

Function operator +

TSVector2D.h:201–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 inline Vector2D operator +(const Vector2D& a, const Vector2D& b)
202 {
203 return (Vector2D(a.x + b.x, a.y + b.y));
204 }
205
206 template <typename type_struct, int count, int index_x, int index_y>
207 inline Vector2D operator +(const Vector2D& a, const Subvec2D<type_struct, count, index_x, index_y>& b)

Callers

nothing calls this directly

Calls 2

Vector2DClass · 0.85
Point2DClass · 0.85

Tested by

no test coverage detected