dot

infix fun dot(other: Vec3): Double(source)

Calculates the dot product of this vector with another vector.

Return

The dot product of the two vectors.

Parameters

other

The vector to dot with.