Closed kalwalt closed 4 years ago
The problem seems to be in this for loop:
In the ES5 version worked fine but with ES6 it's like the loop doing any calculation... Articles on this subject (for loop with ES6):
https://hacks.mozilla.org/2015/04/es6-in-depth-iterators-and-the-for-of-loop/ https://stackoverflow.com/questions/30452263/is-there-a-mechanism-to-loop-x-times-in-es6-ecmascript-6-without-mutable-varia
Fixed with https://github.com/webarkit/ARnft/pull/5
In the example the red cube jitter a lot, it seems that the interpolation matrix have no effect, maybe is not injected with values?