Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-10-11 04:22:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-11 04:22:00 +0400
commitf895bc54cd4e168d0876c51c8627216332d20aab (patch)
tree5266b6dc93e99c0a892540cf41c4fe47f482093d /source/blender/blenlib/BLI_boxpack2d.h
parent67fb71ade54955c96b42493232a148ba5866af8d (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.h5
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