@jsyg/vect
v1.0.0
Published
Vector constructor for JSYG
Maintainers
Readme
@jsyg/vect
Vectors constructor for JSYG framework or standalone
Installation
npm install @jsyg/vectExample with webpack
import Vect from "@jsyg/vect"
let vect1 = new Vect(5,3)
let vect2 = new Vect(30,12)
console.log( vect1.length() )
console.log( vect1.dot(vect2) )
console.log( vect1.normalize() )