withY

fun withY(y: Double): Vec3d

Creates a new vector with the given y component.

Return

the new vector

Parameters

y

the new Y component