Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-25 | Math Lib: avoid temp array for rotate_m4 | Campbell Barton | |
No need to have temp array storage, avoid 2x loops. | |||
2016-11-25 | Math Lib: rotate matrix cleanup | Campbell Barton | |
- Remove 'rotate_m2', unlike 'rotate_m4' it created a new matrix duplicating 'angle_to_mat2' - now used instead. (better avoid matching functions having different behavior). - Add 'axis_angle_to_mat4_single', convenience wrapper for 'axis_angle_to_mat3_single'. - Replace 'unit_m4(), rotate_m4()' with a single call to 'axis_angle_to_mat4_single'. | |||
2016-06-16 | BLI_math: Add double versions of functions | Campbell Barton | |
- mul_v3_m3v3_db - mul_m3_v3_db - negate_v3_db | |||
2016-05-13 | BLI_math: add 'equals_m4m4' (and 'm3' variant) helpers. | Bastien Montagne | |
2015-12-07 | Minor changes needed for standalone mathutils | Campbell Barton | |
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-10-15 | Error in last commit | Campbell Barton | |
2015-10-15 | Error in last commit | Campbell Barton | |
2015-10-15 | BLI_math: add normalize_m#_ex functions | Campbell Barton | |
Useful when we need to use the axis lengths too. | |||
2015-10-11 | Fix T46085: UV project modifier artifacts with vertices behind the camera. | Brecht Van Lommel | |
2015-10-09 | BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4. | Bastien Montagne | |
mat3_polar_decompose gives the right polar decomposition of given matrix, as a pair (U, P) of matrices. interp_m3_m3m3 uses that polar decomposition to perform a correct matrix interpolation, even with non-uniformly scaled ones (where blend_m3_m3m3 would fail). interp_m4_m4m4 just adds translation interpolation to the _m3 variant. | |||
2015-07-11 | BLI_matrix space_transform: Add a 'local-invariant' setter. | Bastien Montagne | |
`BLI_space_transform_from_matrices()` defines a 'global-invariant' transform (same point in global space, two different coordinates in local and target spaces). New `BLI_space_transform_global_from_matrices()` is kind of opposite, it defines a 'local-invariant' transform (two different points in global space, same coordinates in local and target spaces). Useful to 'match' meshes. | |||
2015-05-04 | Fix T44592: Zero scale on an axis, zeros all | Campbell Barton | |
2015-05-04 | Fixed comment. | Lukas Tönne | |
2015-05-01 | Fix T43711: dual quaternion deform bug with shearing in deform matrix. | Brecht Van Lommel | |
This also increases the tolerances in is_orthogonal / is_orthonormal functions, which were much too low for practical purposes. | |||
2015-04-27 | Math Lib: add mul_v3_mat3_m4v3 | Campbell Barton | |
2014-12-01 | Cleanup: hopefully last int->bool one in this area! | Bastien Montagne | |
2014-11-29 | Cleanup: use const, avoid float -> double in matrix invert | Campbell Barton | |
2014-11-22 | Math Lib: add constant: M_SQRT1_3 1/sqrt(3) | Campbell Barton | |
2014-10-30 | Complementary fix for rB8054372: Follow the common naming scheme by | Lukas Tönne | |
using negate_mat3_m4 instead of negate_m4. This avoids changing the behavior and only flips the 3x3 part of the matrix. | |||
2014-10-30 | Math Lib: pseudoinverse_m4_m4 changed input matrix | Campbell Barton | |
2014-10-30 | Math Lib: add transpose_m3_m3, m3_m4, m4_m4 | Campbell Barton | |
2014-10-30 | Fix for mat3_to_rot_size modifying input matrix | Campbell Barton | |
2014-10-30 | Fix negate_m3 (taking 4x4 matrix) | Campbell Barton | |
Cycles bake used incorrectly. | |||
2014-09-16 | Math Lib: add mul_v3_project_m4_v3 | Campbell Barton | |
2014-09-06 | Math Lib: Add copy_m2_m2, unit_m2, zero_m2 | Campbell Barton | |
2014-08-12 | Cleanup: magic numbers | Campbell Barton | |
2014-08-01 | Cleanup: Move SpaceTransform helpers from `BKE_shrinkwrap` to `BLI_math_matrix`. | Bastien Montagne | |
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-21 | Math Lib: rename mul_serie_m3 to mul_m3_series & reorder args | Campbell Barton | |
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function) | |||
2014-07-20 | Correction to 7c7b730, multiplication order was flipped | Sergey Sharybin | |
That's really annoying that multiplication order is flipped comparing mat3 and mat4 cases, but for the purposes of not breaking all the branches which might use this stuff we'd better keep order consistent with old version for now. Suggestion here would be to make order consistent but rename this functions to mult_* to make compilation fail instead of failing and using wrong order silently. | |||
2014-07-20 | Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵ | Campbell Barton | |
NULL's) | |||
2014-05-29 | Math lib: add negate_m3, negate_m4 | Campbell Barton | |
2014-05-23 | Bake-API: relaxing in the check for scale uniformity | Dalai Felinto | |
It still warns the user that there may be an error, but the baking goes on. Also using the new is_uniform_scaled_m4() instead of float comparison. Reported and fix suggested by Campbell Barton as a concern over 2bfc3deb | |||
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-03-25 | Correction to the previous commit | Sergey Sharybin | |
2014-03-25 | Fix T38870: Freezes when jumping in front of a keyframe. | Sergey Sharybin | |
Issue was caused by inverting a degenerate matrix when evaluating drivers. Solved by using tweaked inverse code (same as used in Cycles). Should have no affect on cases when matrix is not degenerate. | |||
2014-02-01 | Math lib: simplify size_to_mat4 and use in b_bone_spline_setup | Campbell Barton | |
2014-01-05 | Text3d: selection in editmode now follows rotated text along path | Campbell Barton | |
2013-12-05 | Code Cleanup: use strict flags for math lib, add inline declarations | Campbell Barton | |
2013-12-04 | Code Cleanup: correct fabsf/fabs/abs use | Campbell Barton | |
2013-10-26 | correct typo | Campbell Barton | |
2013-10-20 | Code cleanup: added generic function copt_m3_m3d | Sergey Sharybin | |
2013-10-19 | Move utility functions from mball to mathutils | Sergey Sharybin | |
2013-09-11 | Fix #36701: Mask pivioting doesnt honor parenting | Sergey Sharybin | |
Made mask transformation aware of parent matrix. | |||
2013-08-06 | Add assert to mul_v3_m3v3 and mul_v2_m3v3, | Sergey Sharybin | |
So they're not likely to be called with bad arguments. | |||
2013-07-30 | function renaming for own recently added BLI_math functions, suggested by ↵ | Campbell Barton | |
Brecht. | |||
2013-07-26 | fix [#36282] Spin error with non uniform scale | Campbell Barton | |
add support for passing object matrix to bmesh transform operators. | |||
2013-07-26 | optimization: call one bmesh operator for rotate (not 3). | Campbell Barton | |
added pivot_m4() utility function since rotating about an arbitrary point is handy. | |||
2013-07-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |