|
@@ -86,12 +86,7 @@ public:
|
|
|
public:
|
|
|
|
|
|
// Red, green, blue and alpha color values
|
|
|
- union {
|
|
|
- struct {
|
|
|
- TReal r, g, b, a;
|
|
|
- };
|
|
|
- TReal c[ 4 ];
|
|
|
- };
|
|
|
+ TReal r, g, b, a;
|
|
|
} PACK_STRUCT; // !struct aiColor4D
|
|
|
|
|
|
typedef aiColor4t<float> aiColor4D;
|
|
@@ -99,12 +94,7 @@ typedef aiColor4t<float> aiColor4D;
|
|
|
#else
|
|
|
|
|
|
struct aiColor4D {
|
|
|
- union {
|
|
|
- struct {
|
|
|
- float r, g, b, a;
|
|
|
- };
|
|
|
- float c[ 4 ];
|
|
|
- };
|
|
|
+ float r, g, b, a;
|
|
|
} PACK_STRUCT;
|
|
|
|
|
|
#endif // __cplusplus
|