toji/gl-matrix — pull request #25 by sinisterchipmunk (2012-05-02 20:28:08+00:00)
Title: Fix tests

Changed the `factory` function under node.js to be called with `global` as the root (instead of `undefined`), and altered the type detection functions to hook into the root. This allowed the tests to run properly.

In the process, I also noticed that one of the tests was failing. There was a bug in `mat3.multiplyVec3`, which this pull request fixes.