mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
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 |
||
|---|---|---|
| .. | ||
| gl-matrix-legacy-tests.ts | ||
| gl-matrix-legacy.d.ts | ||
| gl-matrix-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||