-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Looking at the headers I saw this:
struct vector3 {
union {
HYP_FLOAT v[3];
struct {
HYP_FLOAT x, y, z;
};
struct {
HYP_FLOAT yaw, pitch, roll;
};
};
};
Why bother with the outer struct when you could've done this:
union vector3 {
HYP_FLOAT v[3];
struct {
HYP_FLOAT x, y, z;
};
struct {
HYP_FLOAT yaw, pitch, roll;
};
};
Metadata
Metadata
Assignees
Labels
No labels