diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-10 23:23:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-10 23:23:39 +0400 |
commit | 92d94ccb084df36ab7fd39f0258a7189356d9966 (patch) | |
tree | 0cc07aae4dd1b24f2412b289d8dc5d4cff22bf01 /source/blender/blenlib/intern/boxpack2d.c | |
parent | ba13c1606510a5bc92504698f3c4edad53d4480b (diff) |
misc minor changes
- make cmake osx use of -ftemplate-depth match scons.
- use array size within sizeof(), more compact.
- replace AT with __func__ where the function is unique enough.
- BLI_box_pack_2D -> 2d to match other functions.
- rename new mesh normal calculation to mesh.calc_normals_split()
Diffstat (limited to 'source/blender/blenlib/intern/boxpack2d.c')
-rw-r--r-- | source/blender/blenlib/intern/boxpack2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/boxpack2d.c b/source/blender/blenlib/intern/boxpack2d.c index 1087b02b3bb..8707be46196 100644 --- a/source/blender/blenlib/intern/boxpack2d.c +++ b/source/blender/blenlib/intern/boxpack2d.c @@ -156,7 +156,7 @@ static int vertex_sort(const void *p1, const void *p2) * len - the number of boxes in the array. * tot_width and tot_height are set so you can normalize the data. * */ -void BLI_box_pack_2D(BoxPack *boxarray, const int len, float *tot_width, float *tot_height) +void BLI_box_pack_2d(BoxPack *boxarray, const int len, float *tot_width, float *tot_height) { BoxVert *vert; /* the current vert */ int box_index, verts_pack_len, i, j, k, isect; |