Vector.sub(v, [y], [z])
Substracts x, y, and z components or a full vector from this vector.
Type: function
Parameter(s):
- v {Vector | Number}:
Either a full vector or an
xcomponent. - y {Number} Optional:
The
ycomponent. - z {Number} Optional:
The
zcomponent.