Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ operator *
Function
operator *
TSVector2D.h:226–229 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
224
/// \related Vector2D
225
226
inline Vector2D operator *(const Vector2D& v, float n)
227
{
228
return (Vector2D(v.x * n, v.y * n));
229
}
230
231
/// \brief Returns the product of the 2D vector $v$ and the scalar $n$.
232
/// \related Vector2D
Callers
nothing calls this directly
Calls
2
Vector2D
Class · 0.85
Point2D
Class · 0.85
Tested by
no test coverage detected