scaleVertical

fun Vec3.scaleVertical(factor: Double): Vec3

Scales the vertical part (y) of the vector by the given factor and returns the result.