multiply

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

Return

the resulting position

Parameters

x

the X amount

y

the Y amount

z

the Z amount


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

Only the coordinates of the other position will be multiplied by this position, not the rotation.

Return

the resulting position

Parameters

other

the position to multiply by


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

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

Return

the resulting position

Parameters

other

the vector to multiply by


fun multiply(factor: Double): Position

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

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

Return

the resulting position

Parameters

factor

the factor to multiply by