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
2016-06-16BLI_math: Add double versions of functionsCampbell Barton
- mul_v3_m3v3_db - mul_m3_v3_db - negate_v3_db
2016-05-13BLI_math: add 'equals_m4m4' (and 'm3' variant) helpers.Bastien Montagne
2015-12-07Minor changes needed for standalone mathutilsCampbell Barton
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-10-15Error in last commitCampbell Barton
2015-10-15Error in last commitCampbell Barton
2015-10-15BLI_math: add normalize_m#_ex functionsCampbell Barton
Useful when we need to use the axis lengths too.
2015-10-11Fix T46085: UV project modifier artifacts with vertices behind the camera.Brecht Van Lommel
2015-10-09BLI_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-11BLI_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-04Fix T44592: Zero scale on an axis, zeros allCampbell Barton
2015-05-04Fixed comment.Lukas Tönne
2015-05-01Fix 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-27Math Lib: add mul_v3_mat3_m4v3Campbell Barton
2014-12-01Cleanup: hopefully last int->bool one in this area!Bastien Montagne
2014-11-29Cleanup: use const, avoid float -> double in matrix invertCampbell Barton
2014-11-22Math Lib: add constant: M_SQRT1_3 1/sqrt(3)Campbell Barton
2014-10-30Complementary fix for rB8054372: Follow the common naming scheme byLukas 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-30Math Lib: pseudoinverse_m4_m4 changed input matrixCampbell Barton
2014-10-30Math Lib: add transpose_m3_m3, m3_m4, m4_m4Campbell Barton
2014-10-30Fix for mat3_to_rot_size modifying input matrixCampbell Barton
2014-10-30Fix negate_m3 (taking 4x4 matrix)Campbell Barton
Cycles bake used incorrectly.
2014-09-16Math Lib: add mul_v3_project_m4_v3Campbell Barton
2014-09-06Math Lib: Add copy_m2_m2, unit_m2, zero_m2Campbell Barton
2014-08-12Cleanup: magic numbersCampbell Barton
2014-08-01Cleanup: Move SpaceTransform helpers from `BKE_shrinkwrap` to `BLI_math_matrix`.Bastien Montagne
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-21Math Lib: rename mul_serie_m3 to mul_m3_series & reorder argsCampbell Barton
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-20Correction to 7c7b730, multiplication order was flippedSergey 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-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2014-05-29Math lib: add negate_m3, negate_m4Campbell Barton
2014-05-23Bake-API: relaxing in the check for scale uniformityDalai 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-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-25Correction to the previous commitSergey Sharybin
2014-03-25Fix 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-01Math lib: simplify size_to_mat4 and use in b_bone_spline_setupCampbell Barton
2014-01-05Text3d: selection in editmode now follows rotated text along pathCampbell Barton
2013-12-05Code Cleanup: use strict flags for math lib, add inline declarationsCampbell Barton
2013-12-04Code Cleanup: correct fabsf/fabs/abs useCampbell Barton
2013-10-26correct typoCampbell Barton
2013-10-20Code cleanup: added generic function copt_m3_m3dSergey Sharybin
2013-10-19Move utility functions from mball to mathutilsSergey Sharybin
2013-09-11Fix #36701: Mask pivioting doesnt honor parentingSergey Sharybin
Made mask transformation aware of parent matrix.
2013-08-06Add assert to mul_v3_m3v3 and mul_v2_m3v3,Sergey Sharybin
So they're not likely to be called with bad arguments.
2013-07-30function renaming for own recently added BLI_math functions, suggested by ↵Campbell Barton
Brecht.
2013-07-26fix [#36282] Spin error with non uniform scaleCampbell Barton
add support for passing object matrix to bmesh transform operators.
2013-07-26optimization: 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-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-16correct own incorrect check bmesh edgerin subdivide, also add missing break ↵Campbell Barton
in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-13fix for orthogonalize_m3,4, missing break statements in switch.Campbell Barton