| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repo is inspired by victor ,provide Vector class with methods for common vector operations。
The big difference from victor is that the Vector instance is immutable.
npm install maths-vector --savevar Vector = require('maths-vector');
var vec = new Vector(42, 1337);Include the pre-built script.
<script src="./dist/vector.umd.js"></script>
<script>
var vec = new Vector(42, 1337);
</script>npm run buildnpm testnpm run docthen open the generated out/index.html file in your browser.
MIT.
| Back | FazBrowse Home | New Git URL |