mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
made the comment in draw_box abit tighter
This commit is contained in:
parent
f3149df6e4
commit
1d84ae728f
|
@ -99,17 +99,11 @@ void draw_box(int box_type, gui_tileset_enum tileset, float x, float y, float w,
|
||||||
|
|
||||||
/* A composite box consists of 9 parts. To get the coordinates for all corners, we need A, B, C and D:
|
/* A composite box consists of 9 parts. To get the coordinates for all corners, we need A, B, C and D:
|
||||||
* A----+----+----+
|
* A----+----+----+
|
||||||
* | | | |
|
|
||||||
* | tl | tm | tr |
|
* | tl | tm | tr |
|
||||||
* | | | |
|
|
||||||
* +----B----+----+
|
* +----B----+----+
|
||||||
* | | | |
|
|
||||||
* | ml | mm | mr |
|
* | ml | mm | mr |
|
||||||
* | | | |
|
|
||||||
* +----+----C----+
|
* +----+----C----+
|
||||||
* | | | |
|
|
||||||
* | bl | bm | br |
|
* | bl | bm | br |
|
||||||
* | | | |
|
|
||||||
* +----+----+----D
|
* +----+----+----D
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue