0.1.1 • Published 3 years ago

@giraugh/vector v0.1.1

Weekly downloads
-
License
MIT*
Repository
-
Last release
3 years ago

:giraffe: Giraugh Vector

Utilities for working with vectors in typescript.

Installation

yarn add @giraugh/vector

Usage

import { Vector } from '@giraugh/vector'

const position = new Vector(100, 100)
  .add(Vector.random())
  .mul(3)
  .dot(Vector.ONE)

Contributing

All PRs and issues are welcome :)

Copyright

You are welcome to use this software commercially or non-commercially for any purpose with or without attribution as per the attached MIT license.