bugfix: width und heigth waren bei axampleSphere vertaucht. jetzt sieht man eine rote kugel

This commit is contained in:
any
2026-07-26 18:23:10 +02:00
parent 0c6c6531fd
commit 30b7d557d1
5 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
#include "collision.h"
#include "raytrace.h"
int main() {
int width = 1280;
int height = 780;
int width = 1920;
int height = 1080;
int channels = 4;
unsigned char *image = (unsigned char*)malloc(width * height * channels );