Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-07-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |
2013-07-02 | remove nan copyrights from code added since blender become opensource (copy ↵ | Campbell Barton | |
paste errors), also remove BKE_script.h | |||
2013-03-10 | add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵ | Campbell Barton | |
some areas of the python api, bmesh. | |||
2012-12-16 | correct bad comment | Campbell Barton | |
2012-12-16 | replace TypeError with Value error for matrix operations where the type is ↵ | Campbell Barton | |
right but it can't succeed because of a property of the instance (normally the wrong col/row size). | |||
2012-12-16 | add Matrix.normalized(), handy for transforming normals. | Campbell Barton | |
2012-12-08 | ifdef out dynstr so mathutils can be compiled as an external module again. | Campbell Barton | |
2012-11-05 | default to Python3.3 on Linux for SCons and CMake, warn when building with ↵ | Campbell Barton | |
python 3.2x or older. also remove casts to keep Python3.2 warning quiet. | |||
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-31 | fix for crash in python matrix utility functions ↵ | Campbell Barton | |
.inverted/adjugated/transposed if the matrix has a read callback and fails. also replace DM_get_poly_data_layer with dm->getPolyDataArray() since this is the convention in subsurf code and the functions now added. | |||
2012-10-29 | py api: add mathutils.Matrix adjugate(d) methods, also add adjoint_m2_m2() ↵ | Campbell Barton | |
to BLI_math_matrix |