xs_vec_mul_scalar
Syntax
stock xs_vec_mul_scalar(const Float:vec[], Float:scalar, Float:out[])
Usage
| Parameter | Description |
|---|---|
| vec | The vector to be multiplied. |
| scalar | The scalar value to multiply the vector with. |
| out | The output vector. Can be the same as the input vector. |
Description
Multiply a vector by a scalar value.
Return
This function has no return value.