Palette sorting works
-still slow -seems there is a bug in the HSL calculation for green and blue, they get sorted incorrectly -maybe the new S parameter should be used in clustersets, because now we are not differenciating grey from red !! maybe it's done elsewhere, we'll have to check. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@291 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
op_c.h
2
op_c.h
@@ -147,7 +147,7 @@ void TC_Delete(Table_conversion * t);
|
||||
byte TC_Get(Table_conversion * t,int r,int v,int b);
|
||||
void TC_Set(Table_conversion * t,int r,int v,int b,byte i);
|
||||
|
||||
void rgb2hl(int r, int v,int b, byte* h, byte*l);
|
||||
void rgb2hl(int r, int v,int b, byte* h, byte*l, byte* s);
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user