ccc4f confusing

ccc4f confusing
0.0 0


It seems that ccc4 is deprecated and you should use ccc4f, but ccc4f returns a ccColor4B and not a ccColor4F which seems quite inappropriate (line 85 in ccTypes.h ) So what I did was replace the ccc4f function to ccc4 and created:
static inline ccColor4F
ccc4f( const GLfloat r, const GLfloat g, const GLfloat b, const GLfloat a )
ccColor4F c = { r, g, b, a};
return c;



Hi, it maybe a misoperation. Thanks for replying it to us.