use static functions for raycast functions.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56547 954f8c5b-7b00-dc11-b283-0030488c597c
add option to disable guardedalloc, helps for debugging memory errors
since guardedalloc confuses them.

The option cases a warning on build, since its ownly for experimental
use.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56548 954f8c5b-7b00-dc11-b283-0030488c597c
add matrix multiply for projection that outputs 2d values.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56549 954f8c5b-7b00-dc11-b283-0030488c597c
warn of sign conversions for low level apis - ghash, heap, mempool



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56550 954f8c5b-7b00-dc11-b283-0030488c597c
remove unused define CLAMPTEST, move INPR to
collision_compute_barycentric(), only place its used.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56551 954f8c5b-7b00-dc11-b283-0030488c597c
use smaller size for uiWidgetTrias.vec



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56552 954f8c5b-7b00-dc11-b283-0030488c597c
knife tool: use 2d vectors for screen coords.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56553 954f8c5b-7b00-dc11-b283-0030488c597c
knife tool: use the squared distance for comparison.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56554 954f8c5b-7b00-dc11-b283-0030488c597c
knife tool: use faster method for sort_by_frac_along(), no need to call
line_point_factor_v3().



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56555 954f8c5b-7b00-dc11-b283-0030488c597c
add option to only beauty fill between vertices with non-matching tags,
useful for beauty filling the result of a bridge between 2 edge-loops.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56556 954f8c5b-7b00-dc11-b283-0030488c597c
code clenup: rename BKE_mesh_poly_calc_angles -> BKE_mesh_calc_poly_angles



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56557 954f8c5b-7b00-dc11-b283-0030488c597c
auto indent for multi-line python statements.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56558 954f8c5b-7b00-dc11-b283-0030488c597c
de-duplicate draw_new_particle_system() particle drawing.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56559 954f8c5b-7b00-dc11-b283-0030488c597c
use bool for customdata functions.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56560 954f8c5b-7b00-dc11-b283-0030488c597c
rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()
	was renamed fairly recently but other similar iterators not negated
	like this, would prefer to keep it as it was



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56561 954f8c5b-7b00-dc11-b283-0030488c597c
smooth falloff options for loopcut.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56562 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove references to BLI_rand.h



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56563 954f8c5b-7b00-dc11-b283-0030488c597c
use BM_face_create_ngon_verts for python api face creation
(avoid doing it inline).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56564 954f8c5b-7b00-dc11-b283-0030488c597c
speedup for freeing bmeshes, skip calling free on every
vert/edge/face/loop if there are no free functions for the customdata
layers.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56565 954f8c5b-7b00-dc11-b283-0030488c597c