vec3:__sub

Subtracts two vectors, returning a new vector containing the difference.

out = vec3:__sub(v, u)

Arguments

NameTypeDescription
vvec3The first vector.
uvec3The second vector.

Returns

NameTypeDescription
outvec3The result.

See also