Skip to content

YannickBochatay/JSYG.Vect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSYG.Vect

Vectors constructor for JSYG framework or standalone

Installation

npm install jsyg-vect

Example 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() )

About

Vectors constructor for JSYG

Resources

License

Stars

Watchers

Forks

Packages

No packages published