Appearance
aninest root / Vec2 / mulScalar
function mulScalar(v, s): Vec2
Multiplies a vector v by a scalar s immutably.
v
s
• v: Vec2
Vec2
• s: number
number
A new vector.
Utils/vec2.ts:95