Small typo in a comment
This commit is contained in:
parent
013eeef667
commit
db450dbaac
@ -49,7 +49,7 @@ float snoise(vec3 v)
|
|||||||
+ i.x + vec4(0.0, i1.x, i2.x, 1.0 ));
|
+ i.x + vec4(0.0, i1.x, i2.x, 1.0 ));
|
||||||
|
|
||||||
// Gradients: 7x7 points over a square, mapped onto an octahedron.
|
// Gradients: 7x7 points over a square, mapped onto an octahedron.
|
||||||
// The ring size 17*17 = 289 is close to a multiple of 47 (49*6 = 294)
|
// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)
|
||||||
float n_ = 0.142857142857; // 1.0/7.0
|
float n_ = 0.142857142857; // 1.0/7.0
|
||||||
vec3 ns = n_ * D.wyz - D.xzx;
|
vec3 ns = n_ * D.wyz - D.xzx;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user