Change O3DVertex struct

FossilOrigin-Name: 2bf3eabe2875f0326928d79864923dab8a34d4d0a706d21bcf9370cb456fdd0d
This commit is contained in:
Jonathan Schleifer 2023-01-13 14:43:43 +00:00
parent cdf559f8e3
commit 95fd0d1a5d
3 changed files with 20 additions and 14 deletions

View file

@ -18,8 +18,12 @@
OF_ASSUME_NONNULL_BEGIN
typedef struct OF_BOXABLE {
float x, y;
float r, g, b, a;
struct {
float x, y;
} position;
struct {
float r, g, b, a;
} color;
} O3DVertex;
@protocol O3DRenderer <OFObject>