copy

fun copy(vector: Vec3): Vec3

Sets this vector to the X, Y and Z of a specified vector.

Return

this vector with its X, Y and Z set to that of the specified vector

Parameters

vector

the vector specifying the new components