debugging collision rectangles in 2d, is what I did yesterday.
ya see I have this chopper that rotates and has a collision rect so the fireworks can hit it and explode somewhat accurately...
glpolygonmode(gl_back,gl_line)
DrawRect x,y,sizex,sizey
glpolygonmode(gl_back,gl_fill)
I guess the point of drawrect is to be simple. having to put the glCommands defeats the purpose.
ya see I have this chopper that rotates and has a collision rect so the fireworks can hit it and explode somewhat accurately...
glpolygonmode(gl_back,gl_line)
DrawRect x,y,sizex,sizey
glpolygonmode(gl_back,gl_fill)
I guess the point of drawrect is to be simple. having to put the glCommands defeats the purpose.