div

open operator override fun div(divisor: Double): Vec3

Creates new vector containing this vector divided by a scalar.

Return

new vector containing this vector divided by a scalar

Parameters

divisor

the scalar to divide this vector by