code ist jetzt schner aber ich habe durch einen pointer fehler in raytrace.c (nearestObject = &currentObject //zeigt immer auf die selbne adresse)
ein art negativ bild erzeugt
This commit is contained in:
any
2026-08-26 00:12:44 +02:00
parent 91bb170b23
commit 491eca3513
7 changed files with 149 additions and 153 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#pragma once
#include "structs.h"
void displaySzene(sphere **objectList, int objectCount, camera cam1, int width, int height, int channels, unsigned char **image);
void displaySzene(object objectList[], int objectCount, camera cam1, int width, int height, int channels, unsigned char **image);