@@ -69,7 +69,7 @@ int main(void)
6969 float offset [2 ] = { startingOffset [0 ], startingOffset [1 ] };
7070 float zoom = startingZoom ;
7171 // Depending on the zoom the mximum number of iterations must be adapted to get more detail as we zzoom in
72- // The solution is not perfect, so a control has been added to increase/decrease the number of iterations with UP/DOWN keys
72+ // The solution is not perfect, so a control has been added to increase/decrease the number of iterations with UP/DOWN keys
7373#if defined(PLATFORM_DESKTOP )
7474 int maxIterations = 333 ;
7575 float maxIterationsMultiplier = 166.5f ;
@@ -134,8 +134,8 @@ int main(void)
134134
135135 if (IsKeyPressed (KEY_F1 )) showControls = !showControls ; // Toggle whether or not to show controls
136136
137- // Change number of max iterations with UP and DOWN keys
138- // WARNING: Increasing the number of max iterations greatly impacts performance
137+ // Change number of max iterations with UP and DOWN keys
138+ // WARNING: Increasing the number of max iterations greatly impacts performance
139139 if (IsKeyPressed (KEY_UP ))
140140 {
141141 maxIterationsMultiplier *= 1.4f ;
@@ -167,10 +167,10 @@ int main(void)
167167 updateShader = true;
168168 }
169169
170- // In case a parameter has been changed, update the shader values
170+ // In case a parameter has been changed, update the shader values
171171 if (updateShader )
172- {
173- // As we zoom in, increase the number of max iterations to get more detail
172+ {
173+ // As we zoom in, increase the number of max iterations to get more detail
174174 // Aproximate formula, but it works-ish
175175 maxIterations = (int )(sqrtf (2.0f * sqrtf (fabsf (1.0f - sqrtf (37.5f * zoom ))))* maxIterationsMultiplier );
176176
0 commit comments