@giraugh/vector
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

🦒 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.

Package Sidebar

Install

npm i @giraugh/vector

Weekly Downloads

0

Version

0.1.1

License

MIT*

Unpacked Size

5.57 kB

Total Files

9

Last publish

Collaborators

  • giraugh