ashima/webgl-noise — Issue #3: mod289 defined only for vec3
Author: Kereys
Created: 2011-10-11 13:06:12+00:00
State: open

Hi !

While using the 3D classical noise, I got one complaint, about mod289 using vec4 while Pi0 and Pi1 are vec3. As permute actualy uses a vec3, I just added a vec3 version of mod289, and everything worked fine.

Thanks for sharing those useful functions.

Marc