Refactor
code ist jetzt schner aber ich habe durch einen pointer fehler in raytrace.c (nearestObject = ¤tObject //zeigt immer auf die selbne adresse) ein art negativ bild erzeugt
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user