withZ

fun withZ(z: Int): Vec3i

Creates a new vector with the given z component.

Return

the new vector

Parameters

z

the new Z component