Vec3:div

Divides the vector by a vector or a number.

v = Vec3:div(u)

Arguments

NameTypeDescription
uVec3The other vector to divide the components by.

Returns

NameTypeDescription
vVec3The original vector.

v = Vec3:div(x)

Arguments

NameTypeDescription
xnumberThe number to divide each component by.

Returns

NameTypeDescription
vVec3The original vector.

See also