structs erstellt

This commit is contained in:
any
2026-07-19 21:25:38 +02:00
parent 211a1260b6
commit 31f259b4b5
3 changed files with 14 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
struct vec3 {
float x, y, z;
};
typedef struct vec3 vec3;
struct triangle {
vec3 a, b, c;
vec3 normal;
}; typedef struct triangle triangle;