المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : glDrawPixels help



C++ Programming
04-03-2009, 03:02 AM
Hello,
i am creating a rectangle using glDrawPixels by specifying it's height and width. I need to rotate this rectangle somehow 45 degrees. What should i do in order to rotate this rectangle. by using glRasterPos i am positioning that rect somewhere on the screen. How would i keep it rotating?

thankshttp://www.barakasoft.com/script/Forums/Images/smiley_confused.gif