DrawRect fix for DXMax2D??

BlitzMax Forums/BlitzMax Beginners Area/DrawRect fix for DXMax2D??

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.

Function RectsCol:Int (x1:Int , y1:Int , w1:Int , h1:Int , x2:Int , y2:Int , w2:Int , h2:Int )
	If x1+w1>x2 And x1<x2+w2
		If y1+h1>y2 And y1<y2+h2
			Return True
		EndIf
	EndIf
	Return False
End Function