vec3:__add

Adds two vectors, returning a new vector containing the sum.

out = vec3:__add(v, u)

Arguments

NameTypeDescription
vvec3The first vector.
uvec3The second vector.

Returns

NameTypeDescription
outvec3The result.

See also