Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 835 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 835 Bytes

Vector implementation

  • Vector - basic vector class (./src/Vector.ts)
  • Vector2D - 2-dimensional vector implementation (./src/Vector2d.ts)
  • Vector3D - 3-dimensional vector implementation (./src/Vector3d.ts)

Dependencies

  1. Node.js and npm (see here)

  2. Install typescript compiler (globally):

npm install -g typescript
  1. Install dev-dependencies:
npm install

NPM Commands

  1. Build (builds into ./build directory):
npm run build
  1. Test:
npm test

Links

  1. Wiki: Vector (mathematics and physics)
  2. Wiki: Cross product
  3. Wiki: Triple (or mixed) product