MCPcopy 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
46Vector2 Vector2::operator * (float rhs) const
47{
48 return Vector2(this->x * rhs, this->y * rhs);
49}
50
51Vector2 Vector2::operator / (float rhs) const
52{

Callers

nothing calls this directly

Calls 3

Vector2Class · 0.85
Vector3Class · 0.85
Vector4Class · 0.85

Tested by

no test coverage detected