Closed fazeaction closed 10 years ago
That that looks like a typo. Did your change work?
Yes, now no error with oriented particles. :-D. I'm using part of the code from this example > https://www.khronos.org/registry/webgl/sdk/demos/google/particles/
Better with a basic example > https://dl.dropboxusercontent.com/u/106524784/tdl/example/index.html
thanks! I pushed new version with your fix
Seems there is a typo in particle.js file at line 1129:
tdl.fast.matrix4.mul.mulMatrixMatrix4(worldViewProjection, tmpWorld, viewProjection);
I think, the correct is:
tdl.fast.matrix4.mul(worldViewProjection, tmpWorld, viewProjection);
Is this ok?. Thanks for your time!