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
2018-03-18mathutils: replace interp w/ blend when standaloneCampbell Barton
2018-01-18Improved docstring of mathutils.Matrix.lerp()Sybren A. Stüvel
2018-01-18Improve docstring for mathutils.Matrix.decompose()Sybren A. Stüvel
2017-08-19PyAPI: expose matrix parsing functionCampbell Barton
2017-05-26Fix T51287: Matrix.lerp fails w/ shearBrecht Van Lommel
Use interp_m4_m4m4 (wraps Eigen), `MATH_STANDALONE` will need to be updated to support this.
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-04-21Matrix.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-22Pydoc: Change Wikipedia links and grammar in mathutils matrix codeAaron Carlisle
2016-10-25API: Fix LinksAaron 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-23C99 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-23BLI_math: add mat3_normalized_to_* functionsCampbell Barton
Many uses of matrices for rotation keep them normalized, so no need to normalize each time.
2015-07-29Optimize PySequence_Fast usageCampbell Barton
Access arrays directly, avoiding type-check every time.
2015-07-29Fix leaks in mathutils PySequence_Fast usageCampbell Barton
2015-07-29Cleanup: check exact error w/ mathutils functionsCampbell Barton
2015-05-12Doc: correct rst syntaxCampbell Barton
also remove some API docs from example
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-03-06PyAPI: clarify fallback docstringCampbell Barton
2015-02-15missed this second last commitCampbell Barton
2015-02-15mathutils: Implement __hash__() functionsCampbell 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-15mathutils: add freeze() method, is_frozen attrCampbell Barton
This allows you to make any mathutils object immutable.
2015-02-01Documentation: updated mathutils documentationSybren A. Stüvel
Added descriptions of the constructors, and improved the module-level documentation.
2015-01-06PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RETCampbell 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-04mathutils: refactor instantiationCampbell 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-28cleanup: avoid ref-counting None for a new matrixCampbell Barton
2014-12-18Fix mathutils docstring typos.Tamito Kajiyama
2014-12-13Fix T42885: We still had a few wrong doc in mathutils about methods returningBastien Montagne
instance of self while actually returning None...
2014-09-08Fix building as Python module (manpage-generation)Campbell Barton
2014-09-06Py 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-06Math Lib: Add copy_m2_m2, unit_m2, zero_m2Campbell Barton
2014-05-17Minor changes for standalone mathutilsCampbell Barton
2014-04-29Code cleanup: quiet warningsCampbell Barton
2014-04-29Error in last commitCampbell Barton
2014-04-29PyAPI: Matrix.invert(ed): accept an optional fallback argumentCampbell Barton
This avoids try/except when its possible the matrix has no inverse.
2014-04-29Code cleanup: remove redundant matrix initializationCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-01-17Code Cleanup: spellingCampbell Barton
2014-01-09Fix T38138: incorrect API docsCampbell Barton
2013-11-29Python API: give a better error message when creating a Matrix failsCampbell Barton
2013-09-11add angle_to_mat2 utility function.Campbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-03-10add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵Campbell Barton
some areas of the python api, bmesh.
2012-12-16correct bad commentCampbell Barton
2012-12-16replace 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-16add Matrix.normalized(), handy for transforming normals.Campbell Barton
2012-12-08ifdef out dynstr so mathutils can be compiled as an external module again.Campbell Barton
2012-11-05default 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-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-31fix 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-29py api: add mathutils.Matrix adjugate(d) methods, also add adjoint_m2_m2() ↵Campbell Barton
to BLI_math_matrix