Vector.add(v, [y], [z])
Adds x
, y
, and z
components to a vector, adds one vector to another.
Type: function
Parameter(s):
- v {Vector | Number}:
Either a full vector or an
x
component. - y {Number} Optional:
The
y
component. - z {Number} Optional:
The
z
component.