lucaspevidor / InteractiveCanvas

A training project for interacting with an environment through HTML canvas
GNU General Public License v3.0
1 stars 0 forks source link

[FEATURE] Add new functions to Vector2D class #15

Closed lucaspevidor closed 1 year ago

lucaspevidor commented 1 year ago

Some useful functions are missing from Vector2 class

  1. Unit vector
  2. Zero vector
  3. Adding and subtracting vector with coordinates (overload add and subtract functions)