Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
Point Point::operator*(float rhs) const
35
{
36
return Point((int)(this->x * rhs), (int)(this->y * rhs));
37
}
38
39
Point Point::operator+(const Point &rhs) const
40
{
Callers
nothing calls this directly
Calls
1
Point
Class · 0.85
Tested by
no test coverage detected