Learn to Program with ZedLX

Free Online Programming Course for Beginners

Operations on Vectors [12/13]

The getter function .add from type vector2D adds one vector to another.

The addition of vectors is performed by adding up their respective coordinate components.

Loading...