Curve cleanup
authorCampbell Barton <ideasman42@gmail.com>
Thu, 10 Sep 2009 02:57:25 +0000 (02:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 10 Sep 2009 02:57:25 +0000 (02:57 +0000)
commit2fc4ee354574d52200544eec00aed95442cf4d04
tree3a0871054cd05a9ae6cd5fd1c39a2dbd1a62a82a
parent4cb53d91ea1843dc0cb2c1d4c846e5a1974a20eb
Curve cleanup

Renamed BevPoint's members
* x,y,z -> vec[3]; compatible with other functions.
* f1 -> split_tag; used by displist to set the splitting flag.
* f2 -> dupe_tag; used in curve.c to remove duplicates.

BevList
* flag -> dupe_nr; was being used as a counter for duplicate points.

* use arithb.c functions where possible.

* arrays for coords, tilt and radius were being allocated, then copied into the BevPoint's, now write directly into the values without allocing/freeing arrays.
source/blender/blenkernel/BKE_curve.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/colortools.c
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/displist.c
source/blender/makesdna/DNA_curve_types.h
source/blender/python/api2_2x/Geometry.c
source/blender/src/drawipo.c
source/blender/src/drawobject.c