Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ operator *
Method
operator *
engine/src/vector.cpp:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
Vector2 Vector2::operator * (float rhs) const
47
{
48
return Vector2(this->x * rhs, this->y * rhs);
49
}
50
51
Vector2 Vector2::operator / (float rhs) const
52
{
Callers
nothing calls this directly
Calls
3
Vector2
Class · 0.85
Vector3
Class · 0.85
Vector4
Class · 0.85
Tested by
no test coverage detected