xs_vec_sub_scaled

Syntax

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

Usage

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

Description

Subtracts the second vector scaled by a scalar from the first one.

Return

This function has no return value.