div

operator fun div(divisor: Double): MotionState<U>(source)

Divides this motion state by a scalar, component-wise.

Return

A new MotionState with each component divided by the divisor

Parameters

divisor

The scalar to divide by


operator fun div(divisor: Number): MotionState<U>(source)

Divides this motion state by a scalar, component-wise.

Return

A new MotionState with each component divided by the divisor

Parameters

divisor

The scalar to divide by (converted to Double)