multiply

fun multiply(x: Int, y: Int, z: Int): Vec3i

Multiplies this vector by the given x, y, and z values and returns the result.

Return

the resulting vector

Parameters

x

the X amount

y

the Y amount

z

the Z amount


fun multiply(other: Vec3i): Vec3i
fun multiply(other: Vec3d): Vec3i

Multiplies this vector by the given other vector and returns the result.

Return

the resulting vector

Parameters

other

the vector to multiply by


fun multiply(factor: Int): Vec3i

Multiplies this vector by the given factor and returns the result.

This is equivalent to calling multiply with the same factor for each component.

Return

the resulting vector

Parameters

factor

the factor to multiply by