You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately it's not as simple as making that one change. I have to go fix all the samples using these libraries on both webgl2 and webgl1. I also have to rename the libraries to like 2d-math-v2.js so as not to break anyone using the old versions (since people link directly). The short of that is I've just been too lazy to fix since it will talk a while.
On the page https://github.com/greggman/webgl2-fundamentals/blob/master/webgl/lessons/webgl-2d-matrices.md the rotation matrix generator is incorrectly defined as:
This results in rotation in the reverse direction. Matrix components in GLSL are defined in column-major order, so the correct definition should be:
The text was updated successfully, but these errors were encountered: