xs_vec_add_scaled

Syntax

stock xs_vec_add_scaled(const Float:in1[], const Float:in2[], Float:scalar, Float:out[])

Usage

in1
Vector to add to.
in2
Vector to scale and add.
scalar
Scalar to scale the second vector with.
out
The output vector. Can be one of the input vectors.

Description

Adds the second vector scaled by a scalar to the first.

Return

This function has no return value.