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

Method operator+

engine/src/point.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Point Point::operator+(const Point &rhs) const
40{
41 return Point(this->x + rhs.x, this->y + rhs.y);
42}
43
44Point Point::operator-(const Point &rhs) const
45{

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected