Pool:vec3

Allocates a new vec3 from the Pool and returns it.

v = Pool:vec3(x, y, z)

Arguments

NameTypeDefaultDescription
xnumber0The x component of the vector.
ynumberxThe y component of the vector.
znumberxThe z component of the vector.

Returns

NameTypeDescription
vvec3The new vector.

v = Pool:vec3(u)

Arguments

NameTypeDescription
uvec3The vector to copy the values from.

Returns

NameTypeDescription
vvec3The new vector.

See also