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

Method operator*

engine/src/point.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Point Point::operator*(float rhs) const
35{
36 return Point((int)(this->x * rhs), (int)(this->y * rhs));
37}
38
39Point Point::operator+(const Point &rhs) const
40{

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected