DefinitelyTyped/gl-matrix
Michael Lamparski 785ec847ef Make gl-matrix null-aware
Got bitten by nulls arising from matrix inverses.

Pretty much every change in this commit came from a simple textual
search for explicit appearances of "null" and "undefined" in
https://github.com/toji/gl-matrix/blob/master/src/gl-matrix.js.

Additional things I checked: (all of which turned up nothing)

* Checked each null-returning function for others that call it.
* Glanced through for other suspicious places where null/undefined
  might crop up implicitly. However, almost every function in the
  library simply mutates one of its arguments in a manner that should
  respect the type invariants, and returns it. Nothing stuck out to me.
* Double-checked newer files in
  https://github.com/toji/gl-matrix/tree/master/src/gl-matrix
2016-11-14 16:28:59 -05:00
..
gl-matrix-legacy-tests.ts rename old implementation to legacy and new to standard 2016-08-15 18:13:26 +02:00
gl-matrix-legacy.d.ts rename old implementation to legacy and new to standard 2016-08-15 18:13:26 +02:00
gl-matrix-tests.ts Make gl-matrix null-aware 2016-11-14 16:28:59 -05:00
index.d.ts Make gl-matrix null-aware 2016-11-14 16:28:59 -05:00
tsconfig.json Make gl-matrix null-aware 2016-11-14 16:28:59 -05:00