| 52 | SPACETIMEDB_STRUCT(DbVector2, x, y) |
| 53 | |
| 54 | inline DbVector2 operator+(const DbVector2& a, const DbVector2& b) { |
| 55 | return DbVector2(a.x + b.x, a.y + b.y); |
| 56 | } |
| 57 | |
| 58 | inline DbVector2 operator-(const DbVector2& a, const DbVector2& b) { |
| 59 | return DbVector2(a.x - b.x, a.y - b.y); |
nothing calls this directly
no test coverage detected
searching dependent graphs…