fix comment

This commit is contained in:
Lavanya Mittal 2024-11-14 10:19:25 -05:00
parent b9d2b44db0
commit 45b66fbcf8
1 changed files with 3 additions and 1 deletions

View File

@ -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