Vector
A simple 2D vector math library. Largely similar to Victor, with the following differences:
- All transformations clone the source vector
- Some changes have been made to the interface for convenience
Additionaly:
Scripts
-
yarn build
- produces production version of the library under thelib
folder -
yarn dev
- produces development version of the library and runs a watcher -
yarn test
- well ... it runs the tests :) -
yarn test:watch
- same as above but in a watch mode