Fixed last fix
This commit is contained in:
@@ -23,7 +23,7 @@ void tricorn_V2(float complex start, size_t width, ssize_t height, float res, un
|
||||
// As we iterate from the top always, if it is negative we would have to start at the end of the imaginary part and go in the oposite direction when generating
|
||||
ssize_t imag_direction = height < 0 ? -1 : 1;
|
||||
float c_start_real = creal(start);
|
||||
float c_start_imag = height > 0 ? cimag(start) : creal(start) + (imag_direction * height * res);;
|
||||
float c_start_imag = height > 0 ? cimag(start) : cimag(start) + ((actual_height-1) * res);;
|
||||
|
||||
|
||||
float vertical_step = imag_direction * res;
|
||||
|
||||
Reference in New Issue
Block a user