MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / operator-

Method operator-

engine/src/point.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44Point Point::operator-(const Point &rhs) const
45{
46 return Point(this->x - rhs.x, this->y - rhs.y);
47}

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected