JavaScript – the glMatrix.

By | 09/12/2017

The glMatrix javascript is designed to perform vector and matrix operations very fast.
The official website can be found here.
What’s new in 2.0?
The glMatrix 2.0 is the result of a lot of excellent feedback from the community, and features:

  • Revamped and consistent API (not backward compatible with 1.x)
  • New functions for each type, based on request.
  • New array operations: vec(2/3/4).forEach
  • Even more optimizations!
  • A cleaner code base, broken up by type.
  • A more complete unit testing suite.

Let’s test one example with gl matrix and shaders:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.