fix comment
This commit is contained in:
parent
b9d2b44db0
commit
45b66fbcf8
|
|
@ -24,8 +24,10 @@ void main(){
|
|||
// Number of sides of your shape
|
||||
int N = 3;
|
||||
|
||||
// Angle and radius from the current pixel
|
||||
// Angle from the current pixel
|
||||
float a = atan(st.x,st.y)+PI;
|
||||
|
||||
// Angular spacing between vertices of shape (in radians)
|
||||
float r = TWO_PI/float(N);
|
||||
|
||||
// Shaping function that modulate the distance
|
||||
|
|
|
|||
Loading…
Reference in New Issue