Rotating a Rect Around Its Center?

BlitzMax Forums/BlitzMax Beginners Area/Rotating a Rect Around Its Center?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

sethandle sets the handle for everything. like setcolor



Why do I use the coordinates of half the width and height? In my head, I thought SetHandle would want coordinates in the graph-space itself to pinpoint the location of my handle.


half the width and height is the center of the rect. That is local. like 0,0 is always the topleft of a image. doesnt matter where you later draw it


try SetImageHandle instead


thanks I will put that in my game
I earlier made a function SetOriginMidImage(). that I wont need