add method
Q
add(
- Q o
Returns a new quaternion that is the component-wise sum of this and o.
Implementation
Q add(Q o) => _q(x + o.x, y + o.y, z + o.z, w + o.w);
Returns a new quaternion that is the component-wise sum of this and o.
Q add(Q o) => _q(x + o.x, y + o.y, z + o.z, w + o.w);