TornPhys/main.cpp
rect tile_to_rect(Tile tile) {
	rect r;
	r.x1 = tile.x;
	r.y1 = tile.y;
	r.x2 = tile.x + tile.w;
	r.y2 = tile.y + tile.h;
	return r;
}
//used to convert the tile class into a render-able rectangle 
used to convert the tile class into a render-able rectangle
used to convert the tile class into a render - able rectangle
rect tile_to_rect(Tile tile) {
	rect r;
	r.x1 = tile.x;
	r.y1 = tile.y;
	r.x2 = tile.x + tile.w;
	r.y2 = tile.y + tile.h;
	return r;
}
rect tile_to_rect ( Tile tile ) { rect r ; r . x1 = tile . x ; r . y1 = tile . y ; r . x2 = tile . x + tile . w ; r . y2 = tile . y + tile . h ; return r ; }
used to convert the tile class into a render-able rectangle
used to convert the tile class into a render - able rectangle