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
2020-09-02Cleanup: Correct argument names in commentJulian Eisel
Names were changed in 66b12ef4ab94, but the comment wasn't updated.
2020-08-28Merge newboolean branch into master.Howard Trickey
This is for design task T67744, Boolean Redesign. It adds a choice of solver to the Boolean modifier and the Intersect (Boolean) and Intersect (Knife) tools. The 'Fast' choice is the current Bmesh boolean. The new 'Exact' choice is a more advanced algorithm that supports overlapping geometry and uses more robust calculations, but is slower than the Fast choice. The default with this commit is set to 'Exact'. We can decide before the 2.91 release whether or not this is the right choice, but this choice now will get us more testing and feedback on the new code.
2020-08-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-07-07Cleanup: spellingCampbell Barton
2020-05-27CD_PROP_COL datalayerPablo Dobarro
This implements a generic color datalayer and its functions. Based on D5975. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7838
2020-04-05Cleanup: spellingCampbell Barton
2020-03-04BLI_math: inline clamp functionsCampbell Barton
These are used in some per-pixel operations such as image sampling and color conversion, where replacing existing macro use could add overhead.
2020-03-04BLI_math: add clamp_v# and clamp_v#_v#v# utility functionsTiago Chaves
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
2019-11-21Cleanup: spellingCampbell Barton
One of the corrections from last cleanup was wrong.
2019-08-20BLI: double version of some math functions.YimingWu
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-27Cleanup: style, use braces for blenlibCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-08-09Math Lib: varied size vector multiplyAndrew Hale
Needed for Python mathutils elementwise multiply.
2018-02-15Blenlib: Assert when attempting to rotate point around vector and store ↵Sergey Sharybin
result in the point This isn't supported since there are subsequent reads to all point coordinates after modification started. Probably we need to create a temp copy of point, but that's like extra CPU ticks.
2017-11-14BLI: sync changes from 2.8Campbell Barton
2017-09-06Math Lib: normalized vector project functionsCampbell Barton
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-04-21Docs: diagram for reflect_v3_v3v3Campbell Barton
2017-01-11Add mid_v3_v3_array function and remove redundant functionsLuca Rood
Other than implementing a `mid_v3_v3_array` function, this removes `cent_tri_v3` and `cent_quad_v3` in favor of `mid_v3_v3v3v3` and `mid_v3_v3v3v3v3` respectively. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2459
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