NON WORKING
absoluter clutter beim versuch quads zu implementieren. refactor absolut noetig
This commit is contained in:
@@ -33,4 +33,18 @@ struct sphere {
|
||||
double radius;
|
||||
RGBA color;
|
||||
int isLight;
|
||||
}; typedef struct sphere sphere;
|
||||
}; typedef struct sphere sphere;
|
||||
|
||||
struct plane {
|
||||
vec3 origin;
|
||||
vec3 normal;
|
||||
}; typedef struct plane plane;
|
||||
|
||||
struct quad {
|
||||
vec3 origin;
|
||||
vec3 v1;
|
||||
vec3 v2;
|
||||
vec3 normal;
|
||||
RGBA color;
|
||||
int isLight;
|
||||
}; typedef struct quad quad;
|
||||
Reference in New Issue
Block a user