Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-19 | Cleanup: add trailing commas | Campbell Barton | |
Prevents clang-format merging into a single line. | |||
2018-12-19 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-12-19 | Cleanup: spelling | Campbell Barton | |
2018-12-16 | Fix T58975: "@=" operator silently fails | Campbell Barton | |
D4083 by @artfunkel | |||
2018-12-12 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-12-12 | Cleanup: use colon separator after parameter | Campbell Barton | |
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere. | |||
2018-09-03 | Merge branch 'master' into blender2.8 | Bastien Montagne | |
Conflicts: source/blender/blenkernel/intern/collision.c | |||
2018-09-03 | Spelling fixes in comments and descriptions, patch by luzpaz. | Brecht Van Lommel | |
Differential Revision: https://developer.blender.org/D3668 | |||
2018-08-22 | Cleanup: style | Campbell Barton | |
2018-08-10 | Python: Add support for @ infix operator matrix multiplication | Andrew Hale | |
This differential revision implements the code for T56276 Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3587 | |||
2018-06-26 | PyAPI: move deep-copy args check to py_capi_utils | Campbell Barton | |
2018-03-18 | mathutils: replace interp w/ blend when standalone | Campbell Barton | |
2018-01-18 | Improved docstring of mathutils.Matrix.lerp() | Sybren A. Stüvel | |
2018-01-18 | Improve docstring for mathutils.Matrix.decompose() | Sybren A. Stüvel | |
2017-08-19 | PyAPI: expose matrix parsing function | Campbell Barton | |
2017-05-26 | Fix T51287: Matrix.lerp fails w/ shear | Brecht Van Lommel | |
Use interp_m4_m4m4 (wraps Eigen), `MATH_STANDALONE` will need to be updated to support this. | |||
2017-05-20 | CMake: Use GCC7's -Wimplicit-fallthrough=5 | Campbell Barton | |
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress. | |||
2017-04-21 | Matrix.decompose(): changed terminology, "location" → "translation" | Sybren A. Stüvel | |
Matrix.decompose() should either return "location, orientation, size" or "translation, rotation, scale". Since there are constructors for the former, I've replaced "location" in the documentation with "translation". The code is still the same, I just changed the documentation. | |||
2017-03-22 | Pydoc: Change Wikipedia links and grammar in mathutils matrix code | Aaron Carlisle | |
2016-10-25 | API: Fix Links | Aaron Carlisle | |
Self-explanatory. to find broken links run `sphinx-build -b linkcheck sphinx-in sphinx-out` Reviewers: mont29 Tags: #bf_blender, #python, #infrastructure:_websites Differential Revision: https://developer.blender.org/D2297 | |||
2015-11-23 | C99 is now the C standard for all our C code. | Brecht Van Lommel | |
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631 | |||
2015-10-23 | BLI_math: add mat3_normalized_to_* functions | Campbell Barton | |
Many uses of matrices for rotation keep them normalized, so no need to normalize each time. | |||
2015-07-29 | Optimize PySequence_Fast usage | Campbell Barton | |
Access arrays directly, avoiding type-check every time. | |||
2015-07-29 | Fix leaks in mathutils PySequence_Fast usage | Campbell Barton | |
2015-07-29 | Cleanup: check exact error w/ mathutils functions | Campbell Barton | |
2015-05-12 | Doc: correct rst syntax | Campbell Barton | |
also remove some API docs from example | |||
2015-05-05 | Math Lib: rename fill_*, to copy_* | Campbell Barton | |
matching convention for fixed length api, eg: copy_v3_fl | |||
2015-03-06 | PyAPI: clarify fallback docstring | Campbell Barton | |
2015-02-15 | missed this second last commit | Campbell Barton | |
2015-02-15 | mathutils: Implement __hash__() functions | Campbell Barton | |
- all mathutils types - only works on frozen data (so vectors can be used in sets/dict keys) - uses same method as CPython, (matches hashing a tuple) D1104 by @juicyfruit with own modifications | |||
2015-02-15 | mathutils: add freeze() method, is_frozen attr | Campbell Barton | |
This allows you to make any mathutils object immutable. | |||
2015-02-01 | Documentation: updated mathutils documentation | Sybren A. Stüvel | |
Added descriptions of the constructors, and improved the module-level documentation. | |||
2015-01-06 | PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET | Campbell Barton | |
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator. | |||
2015-01-04 | mathutils: refactor instantiation | Campbell Barton | |
remove 'type' argument, very few mathutils objects are wrapped, add new function for creating wrapped objects. also fixes unlikely memory leak if the data-array can't be allocated. | |||
2014-12-28 | cleanup: avoid ref-counting None for a new matrix | Campbell Barton | |
2014-12-18 | Fix mathutils docstring typos. | Tamito Kajiyama | |
2014-12-13 | Fix T42885: We still had a few wrong doc in mathutils about methods returning | Bastien Montagne | |
instance of self while actually returning None... | |||
2014-09-08 | Fix building as Python module (manpage-generation) | Campbell Barton | |
2014-09-06 | Py Mathutils: add `invert_safe()` and `inverted_safe()` to `Matrix`. | Bastien Montagne | |
Those two mimic our BLI invert_m4_m4_safe - they add a small offset to diagonal values, in case org matrix is degenerated, and if still non-invertible, return identity matrix. Org patch by me, final enhanced version by ideasman42, many thanks! | |||
2014-09-06 | Math Lib: Add copy_m2_m2, unit_m2, zero_m2 | Campbell Barton | |
2014-05-17 | Minor changes for standalone mathutils | Campbell Barton | |
2014-04-29 | Code cleanup: quiet warnings | Campbell Barton | |
2014-04-29 | Error in last commit | Campbell Barton | |
2014-04-29 | PyAPI: Matrix.invert(ed): accept an optional fallback argument | Campbell Barton | |
This avoids try/except when its possible the matrix has no inverse. | |||
2014-04-29 | Code cleanup: remove redundant matrix initialization | Campbell Barton | |
2014-03-28 | Code cleanup: use sqrtf when input and output are float | Campbell Barton | |
2014-01-17 | Code Cleanup: spelling | Campbell Barton | |
2014-01-09 | Fix T38138: incorrect API docs | Campbell Barton | |
2013-11-29 | Python API: give a better error message when creating a Matrix fails | Campbell Barton | |
2013-09-11 | add angle_to_mat2 utility function. | Campbell Barton | |