diff --git a/src/TRexEffect.js b/src/TRexEffect.js index 96e44b8..3773186 100644 --- a/src/TRexEffect.js +++ b/src/TRexEffect.js @@ -182,7 +182,7 @@ if (utils.isInShellProcess()) { cellUV -= 0.5; cellUV = vec2(cellUV.x * cos(rotation) - cellUV.y * sin(rotation), - cellUV.x * sin(rotation) + cellUV.y * cos(rotation)); + cellUV.x * sin(rotation) + cellUV.y * cos(rotation)); cellUV += 0.5; // Clamp resulting coordinates.