Fixed last fix
This commit is contained in:
@@ -25,7 +25,7 @@ void tricorn_V3(float complex start, size_t width, ssize_t height, float res, un
|
||||
// As we iterate the image buffer from the top, if height 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) : cimag(start) + (height * imag_direction) * res;
|
||||
float c_start_imag = height > 0 ? cimag(start) : cimag(start) + (actual_height - 1) * res;
|
||||
|
||||
__m128 four = _mm_set1_ps(4.0f);
|
||||
__m128 minus_two = _mm_set1_ps(-2.0f);
|
||||
|
||||
Reference in New Issue
Block a user