dot

infix fun Vector2.dot(vector2: Vector2): Float

Custom operator to apply dot multiplication.

Return

the dot product.

Parameters

vector2

will be used to calculate the dot product of this vector.


infix fun Vector3.dot(vector3: Vector3): Float

Custom operator to apply dot multiplication.

Return

the dot product.

Parameters

vector3

will be used to calculate the dot product of this vector.


infix fun Vector4.dot(vector4: Vector4): Float

Custom operator to apply dot multiplication.

Return

the dot product.

Parameters

vector4

will be used to calculate the dot product of this vector.