Skip to content

Commit

Permalink
Update vertex.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Aug 24, 2024
1 parent 290bdc9 commit f844d78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions threejs/galaxy/shaders/galaxy/vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ attribute vec3 aRandomness;
varying vec3 vColor;

float myPoly(float u) {
float v = + 0.00198 * pow(u, 3.0)
- 0.13105 * pow(u, 2.0)
+ 3.03774 * pow(u, 1.0);
float v = + 0.0019462767 * pow(u, 3.0)
- 0.1296830403 * pow(u, 2.0)
+ 3.0256530414 * pow(u, 1.0);
return v;
}

Expand Down

0 comments on commit f844d78

Please sign in to comment.