Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/azrafe7/vec2

2D vector class for AS3
https://github.com/azrafe7/vec2

Last synced: about 2 months ago
JSON representation

2D vector class for AS3

Awesome Lists containing this project

README

        

Vec2
====

A 2D vector class for AS3. Supports many operations: dot and cross product, rotation, tests for proximity,
find orthogonal vectors, clamping, interpolation and more. Check the [docs](http://azrafe7.github.io/vec2).

Take a look at `Vec2Test.as` to see how to use this class.

Original work by [playchilla](http://www.playchilla.com/vector-2d-for-as3), slightly reworked by azrafe7.

License: Use it as you wish and if you like it - link back!