MCPcopy Create free account
hub / github.com/adobe/hyde / operator-

Method operator-

test_files/point.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 /// @param b The point to subtract.
53 /// @return A new point whose axis values are subtractions of the two inputs' axis values.
54 friend inline constexpr point operator-(const point& a, const point& b) {
55 return point(a.x - b.x, a.y - b.y);
56 }
57
58 /// Subtraction-assignment operator.
59 /// @param a The point to subtract from this point

Callers

nothing calls this directly

Calls 1

pointClass · 0.85

Tested by

no test coverage detected