I am trying to debug an application that isn’t rendering. There’s no errors in the console which isn’t helping.
Eventually I found that a matrix contains these values:
[Infinity, 0, 0, 0, 0, Infinity, 0, 0, NaN, NaN, -1.0000200002000021, -1, 0, 0, -0.2000020000200002, 0]
NaNs are obviously not supposed to be there.
Maybe Three.js should throw errors in such cases? Would that be too much overhead?