AMX Mod X API Documentation

Signature
stock xs_vec_sub(const Float:in1[], const Float:in2[], Float:out[]){ out[0] = in1[0] - in2[0]; out[1] = in1[1] - in2[1]; out[2] = in1[2] - in2[2];}
Description

Subtracts one vector from another one.

Parameters
  • in1 Vector to subtract from.
  • in2 Vector to subtract from the first one.
  • out The output vector. Can be one of the input vectors.
No return value
Назад
Верх