implemented multithreading, but with mutex. will mit atomic operations optimieren

This commit is contained in:
any
2026-08-28 23:47:46 +02:00
parent 3d1cb713f2
commit 20ab33de33
5 changed files with 93 additions and 27 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include <math.h>
#define epsilon 1e-8
#define RAYSPERPIXEL 100
#define lightBounces 5
#define lightBounces 6
#define GLOBALILLUMINATION 0.3
enum objectType {
SPHERETYPE,