diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-21 20:06:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-21 20:06:02 +0300 |
commit | ca94d97049f88a04178db1419b8a66fd9717b899 (patch) | |
tree | 14844b7395eb23f4545169b1100534fc699c2981 /source/blender/python/api2_2x/Geometry.h | |
parent | 145f474c5f6cebd0967ea13e7dd44de0dedd7a6c (diff) |
moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d
made LSCM UV Unwrapper use boxpack2d
Diffstat (limited to 'source/blender/python/api2_2x/Geometry.h')
-rw-r--r-- | source/blender/python/api2_2x/Geometry.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source/blender/python/api2_2x/Geometry.h b/source/blender/python/api2_2x/Geometry.h index 09a1a27800e..c74f832c642 100644 --- a/source/blender/python/api2_2x/Geometry.h +++ b/source/blender/python/api2_2x/Geometry.h @@ -39,37 +39,4 @@ PyObject *Geometry_Init( void ); - -/* Box Packer */ -typedef struct boxVert { - float x; - float y; - short free; - - struct boxPack *trb; /* top right box */ - struct boxPack *blb; /* bottom left box */ - struct boxPack *brb; /* bottom right box */ - struct boxPack *tlb; /* top left box */ - - /* Store last intersecting boxes here - * speedup intersection testing */ - struct boxPack *isect_cache[4]; - - int index; -} boxVert; - - -typedef struct boxPack { - float x; - float y; - float w; - float h; - int index; - - /* Verts this box uses - * (BL,TR,TL,BR) / 0,1,2,3 */ - boxVert *v[4]; -} boxPack; - - #endif /* EXPP_Geometry_H */ |