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
AgeCommit message (Collapse)Author
2016-07-11BLI_math: move interp_*_cubic to its own functionCampbell Barton
2016-06-12BLI_math: cleanup arg namesCampbell Barton
project functions arg naming made it hard to tell which vector was projected onto.
2016-05-18Fix GCC/Linux build error after finite/isfinite changes.Brecht Van Lommel
2016-05-17C99/C++11: replace deprecated finite() by isfinite().Brecht Van Lommel
2016-05-03Math Lib: inline project_plane_v3_v3v3Campbell Barton
2016-04-20Minor optimization for scanfillCampbell Barton
Replace angle with with cosine calculation.
2015-09-24Quiet warningCampbell Barton
2015-05-21Math Lib: double versions of vector funcsCampbell Barton
- add_vn_vn_d - add_vn_vnvn_d - mul_vn_db
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-04-27Math Lib: add range_vn_uCampbell Barton
2015-04-08Math Lib: add project_plane_v3_v3v3Campbell Barton
Useful for projecting one vector onto another (as a plane). This is a rather common operation, doing inline isn't always obvious whats happening.
2015-03-09Math Lib: add mid_v3_v3v3v3v3Campbell Barton
2015-02-23Fix interpolation functions ignoring number of components when doing early ↵Sergey Sharybin
output
2015-02-05BLI_math vectors: add minmax_v3v3_v3_array to get min and max values on each ↵Bastien Montagne
components of an array of 3D vectors.
2014-09-16Math Lib: use higher precision for vector printingCampbell Barton
Only use for debugging, where precision is often important.
2014-07-30Cleanup: general cleanup in BLI_math code (mostly, use 'const' where ↵Bastien Montagne
possible, true/false for booleans, format for float litterals).
2014-07-09Math Lib: add function to get signed angle about an axisCampbell Barton
2014-05-27Correct ortho_v2_v2 arg sizeCampbell Barton
2014-05-06Fix for uninitialized unit_use_radians variable with inset and bevelCampbell Barton
2014-04-16Math Lib: increase epsilon for ortho_basis_v3v3_v3Campbell Barton
passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small.
2014-03-31Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functionsCampbell Barton
2014-03-31Fix for error in normalize_vn_vn(), add len_squared_vnCampbell Barton
2014-03-30Code cleanup: reflect_v3_v3v3 made redundant copiesCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-16Fix T39210: Grid Fill is generating mesh that's inconsistent with selected ↵Bastien Montagne
edge loops Issue was in BLI's rotation_between_vecs_to_quat(), which did not handled correctly cases where both vectors are colinear. Patch by Campbell Barton and me. Issue originaly tracked down by Yan Shi, many thanks!
2014-02-14Code clearnup: warningsCampbell Barton
2014-02-10UI: panel tabs, use simple color interpolation that ignores alphaCampbell Barton
2014-01-14Correct bad mistake in own recent to commit to angle calculationCampbell Barton
2014-01-14Math Lib: minor optimization for angle functionsCampbell Barton
2013-12-05Code Cleanup: use strict flags for math lib, add inline declarationsCampbell Barton
2013-07-11fix [#36105] Bevel UV FlickerCampbell Barton
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering.
2013-07-11utility function for printing arbitrary sizes vectors.Campbell Barton
2013-06-06style cleanupCampbell Barton
2013-05-08more optimal method of calculating the normal for the solidify modifier.Campbell Barton
When adding 2 unit length vectors, the length can be used to calculate the angle.
2013-04-17add interp_v3_v3v3v3_uv() to use for use with uv value from ↵Campbell Barton
isect_ray_tri_v3(), rename tree -> bmtree for BMBVHTree.
2013-04-04improved method of getting the tangent axis from a bmesh triangle,Campbell Barton
rather then getting the longest edge, get the edge which which is most different from the 2 others ends up giving more useful results: for an isosceles triangle it returns the base weather its longer or shorter then the other sides.
2013-02-19make asserts that check for unit length vectors into a macro.Campbell Barton
this was really not nice logic to try to fit into an assert.
2013-01-21add an influence slider to mesh cache.Campbell Barton
2013-01-19utility vector functions for flipping one vector about another:Campbell Barton
nicer then interp_v3_v3v3(v, v1, v2, -1.0f);
2012-11-16BLI_assert() when math functions that require are normalize vector are ↵Campbell Barton
called without one.
2012-11-15code cleanup: move local math functions into math_geom.c, math_vector.c, no ↵Campbell Barton
functional changes.
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-10-26code cleanup: use min_/max_ math functions, add minmax_v2_v2v2.Campbell Barton
2012-08-27Alternate mask spline feather offset calculation method: now there are 2 ↵Campbell Barton
[Even | Smooth] - Even preserves thickness but can give unsightly loops - Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers. This is an example where smooth works much nicer. http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-06-24Fix [#31807] Ngon triangulation errorBastien Montagne
Notes: *This implements a quite simple algorithm, which simply checks angles (actually, absolute cosines) of created tri and remaining face (which may be a tri, quad, or more NGon), so that both are "best" (ie avoid as much as possible too much narrow/wide corners), and also checks the new edge is OK (i.e. does not goes "out" of original face). *Incidently, it fixes a typo in that bm_face_goodline() func! *It's quite performant (a bit quicker than previous code, as far as I have tested it) and prevent creation of completely flat triangles as much as possible, but it's far from being a "best" solution (as it is still a "progressive" one)! *It also introduces a new math func (in BLI_math_vector.h), cos_v3v3v3, which computes cosine (ie dot product of normalized vectors) and is roughly a quicker replacement for angle_v3v3v3, when real angles are not needed.
2012-05-31math lib changes from tomatoCampbell Barton
2012-04-29bmesh: new wireframe toolCampbell Barton
- makes wireframe from faces. - options similar to inset (even offset, relative scale) - copies face settings and loops (uvs, vcolors) - optionally replaces the existing geometry.
2012-04-24fix for invalid use of memset when loading tiff imagesCampbell Barton
- memset(..., 1.0); // isnt valid - memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.
2012-04-11fix [#30897] UVEditor: Snap Cursor to SelectedCampbell Barton
was writing the 3rd component of a 2D vector.
2012-03-26rename lattice influence to strength from r45144 (other deform modifiers ↵Campbell Barton
call it strength too)