FANDOM


Subtract2

Name Edit

a - b - returns vector c, which is a result of subtracting vector a & vector b

Synopsis Edit

vector1 subtract(vector1 a, vector1 b);
vector2 subtract(vector2 a, vector1 b);
vector3 subtract(vector3 a, vector1 b);
vector4 subtract(vector4 a, vector1 b);

Parameters Edit

a
A value.
b
A value.
c
The returning value of subtraction.

Description Edit

Returns c = a - b.

For vectors, the returned vector c contains difference of each element of the vector a (vector1-vector4) and the respective element of the vector b (only vector1).

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.