Some progress on the gradiation rectangles. I messed up the vector calculation somehow. Is someone good at maths ?
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@301 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
op_c.c
4
op_c.c
@@ -560,9 +560,11 @@ void Cluster_Split(Cluster * c,Cluster * c1,Cluster * c2,int teinte,Table_occure
|
||||
void Cluster_Calculer_teinte(Cluster * c,Table_occurence * to)
|
||||
{
|
||||
int cumulR,cumulV,cumulB;
|
||||
int r,v,b,s=0;
|
||||
int r,v,b;
|
||||
int nbocc;
|
||||
|
||||
byte s=0;
|
||||
|
||||
cumulR=cumulV=cumulB=0;
|
||||
for (r=c->rmin;r<=c->rmax;r++)
|
||||
for (v=c->vmin;v<=c->vmax;v++)
|
||||
|
||||
Reference in New Issue
Block a user