MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / operator+

Function operator+

LibLemon/include/lemon/gfx/types.h:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7} vector2i_t; // Two dimensional integer vector
8
9inline vector2i_t operator+ (const vector2i_t& l, const vector2i_t& r){
10 return {l.x + r.x, l.y + r.y};
11}
12
13inline void operator+= (vector2i_t& l, const vector2i_t& r){
14 l = l + r;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected