elefher / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

[bug] Some operation produce matrice full of Nan and Infinity #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. given this matrice: 
  [0.10000000149011612, 0, 0, 0, 0, 0, 0, 0, 0, -0.13333334028720856, 1.0363360229988087e-15, 0, 0, 0, 0, 1]
2. compute the mat4.inverse
3. you get: 
  [NaN, NaN, NaN, NaN, NaN, Infinity, NaN, NaN, NaN, Infinity, NaN, NaN, NaN, NaN, NaN, NaN]

After that the matrice is totally unusable

Original issue reported on code.google.com by un.moins...@gmail.com on 21 Jun 2011 at 3:05