Skip to content
2D vector class for AS3
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
shared/math
.gitignore
README.md
Vec2Test.as
shared.math.docproj

README.md

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.

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

Original work by playchilla, slightly reworked by azrafe7.

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

You can’t perform that action at this time.