diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-11 04:22:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-11 04:22:00 +0400 |
commit | f895bc54cd4e168d0876c51c8627216332d20aab (patch) | |
tree | 5266b6dc93e99c0a892540cf41c4fe47f482093d /source/blender/blenlib/BLI_boxpack2d.h | |
parent | 67fb71ade54955c96b42493232a148ba5866af8d (diff) |
code cleanup: boxpack, pack struct and use unsigned ints
Diffstat (limited to 'source/blender/blenlib/BLI_boxpack2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_boxpack2d.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_boxpack2d.h b/source/blender/blenlib/BLI_boxpack2d.h index 8316987dfcd..b02e3423f88 100644 --- a/source/blender/blenlib/BLI_boxpack2d.h +++ b/source/blender/blenlib/BLI_boxpack2d.h @@ -39,14 +39,15 @@ typedef struct BoxPack { float y; float w; float h; - int index; /* Verts this box uses * (BL,TR,TL,BR) / 0,1,2,3 */ struct BoxVert *v[4]; + + int index; } BoxPack; -void BLI_box_pack_2d(BoxPack *boxarray, const int len, float *tot_width, float *tot_height); +void BLI_box_pack_2d(BoxPack *boxarray, const unsigned int len, float *tot_width, float *tot_height); #endif |