Tuesday, March 20, 2012

Announcing Dart Vector Math

The Dart Vector Math Library is for game or WebGL programmers needing 3D vector math in Dart.


Features


  • Almost 100% GLSL compatible syntax. This includes the awesome vector shuffle syntax, and flexible construction of vectors and matrices. Aside from constructor syntax (Dart requires the keyword new before the class name where GLSL does not), if you can’t copy and paste your GLSL source code and have it compile, you’ve found a bug, please report it.
  • A quaternion class. Quaternions are a must when dealing with rotations in 3D. This library offers them as well as functions to convert between quaternions and rotation matrices.
  • OpenGL camera projection and look at matrix utilities.
  • Dart makes operator overloading possible and Vector Math takes full advantage of it.
  • Fully documented.
  • Somewhat tested (quickly expanding on this).

Types



  • vec2
  • vec3
  • vec4
  • mat2x2
  • mat2x3
  • mat2x4
  • mat3x2
  • mat3x3
  • mat3x4
  • mat4x2
  • mat4x3
  • mat4x4
  • quat

Coming Soon



  • Planes
  • Axis Aligned Bounding Box (AABB)
  • Orthonormalization and inverse of square matrices
  • Fully tested

Documentation

Dart Vector Math is fully documented and uses dartdoc to generate HTML documentation. Check out the documentation in the git repository.

Download

Dart Vector Math is available from the following github repository:

https://github.com/johnmccutchan/DartVectorMath

Feature Requests / Bug Reports

File feature requests and bug reports here:

https://github.com/johnmccutchan/DartVectorMath/issues

License

Dart Vector Math is licensed under the ZLIB license.

Authors

John McCutchan <john@johnmccutchan.com>

No comments:

Post a Comment