MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / operator-

Function operator-

demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58inline DbVector2 operator-(const DbVector2& a, const DbVector2& b) {
59 return DbVector2(a.x - b.x, a.y - b.y);
60}
61
62inline DbVector2& operator+=(DbVector2& a, const DbVector2& b) {
63 a.x += b.x;

Callers

nothing calls this directly

Calls 1

DbVector2Class · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…