add method

V4 add(
  1. V4 o
)

Returns a new vector that is the component-wise sum of this and o.

Implementation

V4 add(V4 o) => _v4(x + o.x, y + o.y, z + o.z, w + o.w);