"#define PixelAligned(x)( (float)(int)(( x ) + (( x ) > 0.0f ? 0.5f : -0.5f)) )"
is wrong. The right should be:
"#define PixelAligned(x)((float)((x) + ((x) >= 0.0f ? 0.5f : -0.5f)))"
Moderators: CEGUI MVP, CEGUI Team
Return to “Offtopic Discussion”
Users browsing this forum: No registered users and 17 guests