Add W buffering

FossilOrigin-Name: ef98223fea88b74ac03f3288f0852d68a0154fed9fe88800b88d7b264812d97b
This commit is contained in:
Jonathan Schleifer 2023-01-13 14:56:21 +00:00
parent 95fd0d1a5d
commit f9c6e34b1e
3 changed files with 15 additions and 12 deletions

View file

@ -19,10 +19,10 @@ OF_ASSUME_NONNULL_BEGIN
typedef struct OF_BOXABLE {
struct {
float x, y;
float x, y, z;
} position;
struct {
float r, g, b, a;
float r, g, b;
} color;
} O3DVertex;