CEGUI (Crazy Eddie's GUI) Forums
The official forum for CEGUI
Skip to content
Search
Advanced search
Quick links
Unanswered posts
Active topics
Search
The team
FAQ
Login
Register
Board index
Search
Unanswered posts
•
Active topics
Search found 2 matches
Go to advanced search
Search
Advanced search
Search found 2 matches • Page
1
of
1
by
flyue
Tue Oct 07, 2008 10:23
Forum:
Offtopic Discussion
Topic:
the macro "PixelAligned" has some mistake
Replies:
3
Views:
4541
Thank you very much for the reply, although my English is not very good
now I am reading your CEGUI source code, I learned a lot of new techniques from it.
In China, there are many video games use CEGUI
, so I'm learning it now.
Jump to post
by
flyue
Mon Oct 06, 2008 11:23
Forum:
Offtopic Discussion
Topic:
the macro "PixelAligned" has some mistake
Replies:
3
Views:
4541
the macro "PixelAligned" has some mistake
After my test, the macro
"#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)))"
Jump to post
Sort by
All results
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Author
Post time
Forum
Topic title
Post subject
Ascending
Descending
Search found 2 matches • Page
1
of
1
Go to advanced search
Jump to
Announcements
Official Announcements, Works in Progress, and Future Directions
User Projects
Help Section
Help
Modifications / Integrations / Customisations
Development
Bug Reports, Suggestions, Feature Requests
CEGUI Library Development Discussion
Tools, Skins, and Other External Components
Official Unified CEGUI Editor Tool (CEED)
Unofficial CEGUI-Related Tools
Skins and Themes
Offtopic
Offtopic Discussion