question regarding a strange decision in the engine...
Posted: Wed Feb 25, 2004 3:30 pm
Why is it that for interger colors, you have
SColor (s32 a, s32 r, s32 g, s32 b)
but for float colours, the RGBA order is different and is
SColorf (f32 r, f32 g, f32 b, f32 a)
The RGBA of the float system is what I'm used to and is (I belive)( the standard format for 32-bit image storage these days. I was just wondering why the integer color should be in a different order?
SColor (s32 a, s32 r, s32 g, s32 b)
but for float colours, the RGBA order is different and is
SColorf (f32 r, f32 g, f32 b, f32 a)
The RGBA of the float system is what I'm used to and is (I belive)( the standard format for 32-bit image storage these days. I was just wondering why the integer color should be in a different order?