@@ -33,23 +33,23 @@ struct fractal_window {
3333// / @brief Performs smooth polynomial fitting to the given value.
3434rgb get_rgb_smooth (int n, int iter_max);
3535
36- void save_ppm (const unsigned int & width, const unsigned int & height, std::span<rgb> colors,
36+ void save_ppm (const unsigned int & width, const unsigned int & height, std::span<rgb> colors,
3737 std::string_view file_name);
3838/* *
3939 * @brief Convert a pixel coordinate to the complex domain
4040 * @param scr Source domain (viewing window)
4141 * @param fr Fractal domain (real and imaginary range)
4242 * @param c Initial complex value
4343 */
44- complex scale (const fractal_window<int > & scr, const fractal_window<double > & fr, complex c);
44+ complex scale (const fractal_window<int >& scr, const fractal_window<double >& fr, complex c);
4545
4646/* *
4747 * @brief Check if a point is in the set or escapes to infinity, return the number if iterations
4848 * @param c Complex number value, see scale
4949 * @param iter_max Max number of iterations
5050 * @param func The complex function used for the fractal.
5151 */
52- int escape (complex c, int iter_max, const std::function<complex (complex , complex )> & func);
52+ int escape (complex c, int iter_max, const std::function<complex (complex , complex )>& func);
5353
5454/* *
5555 * @brief Calculate a single fractal row and returns it's color values.
0 commit comments