491eca3513
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
5 lines
165 B
C
5 lines
165 B
C
#pragma once
|
|
#include "structs.h"
|
|
|
|
void displaySzene(object objectList[], int objectCount, camera cam1, int width, int height, int channels, unsigned char **image);
|