withY

fun withY(y: Int): Vec3i

Creates a new vector with the given y component.

Return

the new vector

Parameters

y

the new Y component