TeamCode / org.firstinspires.ftc.teamcode.movement / MecanumDrive / Motor / Vector2D / dotProduct

dotProduct

open static fun dotProduct(a: Vector2D, b: Vector2D): Double

Computes the dot product of two Vector2Ds.

Parameters

a - the first operand

b - the second operand

Return
the dot product of a and b