SteeleR
11-17-2006, 09:47 AM
Let's say i got a rect located at [x,y].. with sides: w and h... and drawn as follows:
glTranslated(x,y,0);
DrawRect(w,h);
How to rotate the rect around it center... I've tried a few ways and read several tutorials.. but I didn't found a way to do it... Can anyone help.. 10x beforehand...
glTranslated(x,y,0);
DrawRect(w,h);
How to rotate the rect around it center... I've tried a few ways and read several tutorials.. but I didn't found a way to do it... Can anyone help.. 10x beforehand...