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

Function operator-

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

Source from the content-addressed store, hash-verified

15}
16
17inline vector2i_t operator- (const vector2i_t& l, const vector2i_t& r){
18 return {l.x - r.x, l.y - r.y};
19}
20
21inline void operator-= (vector2i_t& l, const vector2i_t& r){
22 l = l - r;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected