Hi, i use CB on linux (ubuntu 6.10 and/or 7.04), but i have problem with Astyle source formatter. After formatting my code looks like this :
bool CVERTEX3F::operator==(const CVERTEX3F druhy)const
{
if ( this->x == druhy.x &&
this->y == druhy.y &&
this->z == druhy.z )
return true;
else
return false;
}
bool CVERTEX3F::operator!=(const CVERTEX3F druhy)const
{
if ( this->x != druhy.x ||
this->y != druhy.y ||
this->z != druhy.z )
return true;
else
return false ;
}
float CVERTEX3F::GetMax()
{
if (this->x > this->y)
{
if (this->x > this->z)
{
return this->x;
}
return this->z;
}
if (this->y > this->z)
{
return this->y;
}
return this->z;
}
}
when i do the same on windows, it works fine...