set

fun set(x: Double, y: Double, z: Double): Vec3

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

Return

this vector set to the specified values

Parameters

x

the new X component

y

the new Y component

z

the new Z component