stock

xs_vec_mul_scalar

Syntax

stock xs_vec_mul_scalar(const Float:vec[], Float:scalar, Float:out[])

Description

Multiply a vector by a scalar value.

Parameters

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.

Return

This function has no return value.