Maybe improved SIMD

This commit is contained in:
Nikola
2026-07-03 16:04:46 +02:00
parent 8546217cf3
commit 705a085abb
3 changed files with 48 additions and 29 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ void tricorn_V2(float complex start, size_t width, ssize_t height, float res, un
for(size_t i = 0; i < width; i++){
for(ssize_t j = 0; j < height; j++){
unsigned value = converge(start + (i*res - I*j*res),n+1);
unsigned value = converge(start + (i*res - I*j*res),n);
// Pixel value position in the output array
size_t position = (j*width +i) * bytesPerColor;