Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Operations on Vectors [7/13]

This demonstrational program illustrates the application of getter function .rotdg from type vector2D, which rotates the vector by a given angle. The getter function .rotdg takes one argument which represents the angle in degrees.

A full angle has 360 degrees.

Don't forget to rotate the vector by pressing the mouse button.

Loading...