TeamCode / org.firstinspires.ftc.teamcode.movement / MecanumDrive / Motor / Vector2D / <init>

<init>

Vector2D(x: Double, y: Double)

Constructs a vector based on a given x and y.

Parameters

x - the first element of the vector

y - the second element of the vector