Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-11 | BLI_math: move interp_*_cubic to its own function | Campbell Barton | |
2016-06-12 | BLI_math: cleanup arg names | Campbell Barton | |
project functions arg naming made it hard to tell which vector was projected onto. | |||
2016-05-18 | Fix GCC/Linux build error after finite/isfinite changes. | Brecht Van Lommel | |
2016-05-17 | C99/C++11: replace deprecated finite() by isfinite(). | Brecht Van Lommel | |
2016-05-03 | Math Lib: inline project_plane_v3_v3v3 | Campbell Barton | |
2016-04-20 | Minor optimization for scanfill | Campbell Barton | |
Replace angle with with cosine calculation. | |||
2015-09-24 | Quiet warning | Campbell Barton | |
2015-05-21 | Math Lib: double versions of vector funcs | Campbell Barton | |
- add_vn_vn_d - add_vn_vnvn_d - mul_vn_db | |||
2015-05-05 | Math Lib: rename fill_*, to copy_* | Campbell Barton | |
matching convention for fixed length api, eg: copy_v3_fl | |||
2015-04-27 | Math Lib: add range_vn_u | Campbell Barton | |
2015-04-08 | Math Lib: add project_plane_v3_v3v3 | Campbell 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-09 | Math Lib: add mid_v3_v3v3v3v3 | Campbell Barton | |
2015-02-23 | Fix interpolation functions ignoring number of components when doing early ↵ | Sergey Sharybin | |
output | |||
2015-02-05 | BLI_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-16 | Math Lib: use higher precision for vector printing | Campbell Barton | |
Only use for debugging, where precision is often important. | |||
2014-07-30 | Cleanup: general cleanup in BLI_math code (mostly, use 'const' where ↵ | Bastien Montagne | |
possible, true/false for booleans, format for float litterals). | |||
2014-07-09 | Math Lib: add function to get signed angle about an axis | Campbell Barton | |
2014-05-27 | Correct ortho_v2_v2 arg size | Campbell Barton | |
2014-05-06 | Fix for uninitialized unit_use_radians variable with inset and bevel | Campbell Barton | |
2014-04-16 | Math Lib: increase epsilon for ortho_basis_v3v3_v3 | Campbell Barton | |
passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small. | |||
2014-03-31 | Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions | Campbell Barton | |
2014-03-31 | Fix for error in normalize_vn_vn(), add len_squared_vn | Campbell Barton | |
2014-03-30 | Code cleanup: reflect_v3_v3v3 made redundant copies | Campbell Barton | |
2014-03-28 | Code cleanup: use sqrtf when input and output are float | Campbell Barton | |
2014-03-16 | Fix 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-14 | Code clearnup: warnings | Campbell Barton | |
2014-02-10 | UI: panel tabs, use simple color interpolation that ignores alpha | Campbell Barton | |
2014-01-14 | Correct bad mistake in own recent to commit to angle calculation | Campbell Barton | |
2014-01-14 | Math Lib: minor optimization for angle functions | Campbell Barton | |
2013-12-05 | Code Cleanup: use strict flags for math lib, add inline declarations | Campbell Barton | |
2013-07-11 | fix [#36105] Bevel UV Flicker | Campbell Barton | |
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering. | |||
2013-07-11 | utility function for printing arbitrary sizes vectors. | Campbell Barton | |
2013-06-06 | style cleanup | Campbell Barton | |
2013-05-08 | more 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-17 | add 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-04 | improved 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-19 | make 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-21 | add an influence slider to mesh cache. | Campbell Barton | |
2013-01-19 | utility vector functions for flipping one vector about another: | Campbell Barton | |
nicer then interp_v3_v3v3(v, v1, v2, -1.0f); | |||
2012-11-16 | BLI_assert() when math functions that require are normalize vector are ↵ | Campbell Barton | |
called without one. | |||
2012-11-15 | code cleanup: move local math functions into math_geom.c, math_vector.c, no ↵ | Campbell Barton | |
functional changes. | |||
2012-11-04 | code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵ | Campbell Barton | |
files since its done throughout the code in some places. | |||
2012-10-26 | code cleanup: use min_/max_ math functions, add minmax_v2_v2v2. | Campbell Barton | |
2012-08-27 | Alternate 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-24 | Fix [#31807] Ngon triangulation error | Bastien 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-31 | math lib changes from tomato | Campbell Barton | |
2012-04-29 | bmesh: new wireframe tool | Campbell 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-24 | fix for invalid use of memset when loading tiff images | Campbell 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-11 | fix [#30897] UVEditor: Snap Cursor to Selected | Campbell Barton | |
was writing the 3rd component of a 2D vector. | |||
2012-03-26 | rename lattice influence to strength from r45144 (other deform modifiers ↵ | Campbell Barton | |
call it strength too) |