Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-08 | Cleanup: use normalize_v#_length | Campbell Barton | |
2015-11-12 | Correct error in own matrix normalize commit | 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-23 | Cleanup: remove redundant math calls | Campbell Barton | |
2015-10-23 | BLI_math: add invert_qt_normalized | Campbell Barton | |
When the quat is known to be unit length, so we can avoid scaling (just conjugate_qt which asserts on non unit quats). | |||
2015-10-22 | BLI_math: axis_angle_to_quat_single | Campbell Barton | |
Useful to avoid defining a vector for an axis-aligned rotation. Matches axis_angle_to_mat3_single behavior. | |||
2015-09-18 | Use squared length where possible | Campbell Barton | |
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-08 | Partial fix for T44219 | Joshua Leung | |
Prevent crashes from out of bounds array access if an invalid rotation mode is passed to the euler rotation blenlib calculations. | |||
2015-04-04 | Cleanup: redundant normalize in expmap_to_quat | Campbell Barton | |
2015-02-01 | mathutils: added exponential map to Quaternion | Sybren A. Stüvel | |
Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers. Implementation in C functions quat_to_expmap, quat_normalized_to_expmap, and expmap_to_quat with Python API, unit tests and documentation. Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API. Reviewers: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D1049 | |||
2014-11-20 | Fix T42638: Roll angle inconsistent flip in edit mode. | Bastien Montagne | |
Basically, `angle_compat_rad()` was completely broken - example of result it could produce: | new angle | compat angle | result | -0.000000 | 3.141593 | -> 3.141593 ... Where 0.0 (or 2 * PI) would be expected! | |||
2014-09-24 | Cleanup: use float versions of functions when in/output are floats | Campbell Barton | |
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 | Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵ | Campbell Barton | |
NULL's) | |||
2014-06-14 | Math Lib: mat3_to_eulo2 & mat3_to_eul2 mixed float/double differently | Campbell Barton | |
replace sqrt with hypotf to avoid precision loss instead | |||
2014-05-14 | Code cleanup: doxy comments | Campbell Barton | |
2014-04-20 | Code cleanup: correct abs use | Campbell Barton | |
also minor cleanup to rotation code | |||
2014-04-20 | Math Lib: faster version of rotation_between_vecs_to_mat3 | Campbell Barton | |
Use axis/angle calculation but avoid calls to sin/cos | |||
2014-04-19 | Minor change to recent commit (avoid transpose) | Campbell Barton | |
2014-04-19 | Math Lib: add rotation_between_vecs_to_mat3 | Campbell Barton | |
- behaves like rotation_between_vecs_to_quat - avoids calling sin,cos calls (approx 1.6x faster). | |||
2014-04-19 | Math Lib: minor optimization for axis_angle_normalized_to_mat3 | Campbell Barton | |
2014-03-31 | Tweak slerp assert to be less picky | Campbell Barton | |
2014-03-31 | Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions | Campbell Barton | |
2014-03-28 | Code cleanup: use sqrtf when input and output are float | Campbell Barton | |
2014-03-20 | Math Lib: add angle_qt functions | Campbell Barton | |
2014-03-16 | Fix T39210: Grid Fill is generating mesh that's inconsistent with selected ↵ | Bastien Montagne | |
edge loops Issue was in BLI's rotation_between_vecs_to_quat(), which did not handled correctly cases where both vectors are colinear. Patch by Campbell Barton and me. Issue originaly tracked down by Yan Shi, many thanks! | |||
2014-02-27 | Fix T38858: Crazy spaces was unpredictable with co-linear edges | Campbell Barton | |
2014-02-01 | Math lib: add axis_angle_normalized_to_quat, use when length is known | Campbell Barton | |
2014-01-17 | Math: Code cleanup | Sergej Reich | |
Remove stray #undef directives. | |||
2013-12-05 | Code Cleanup: use strict flags for math lib, add inline declarations | Campbell Barton | |
2013-10-22 | style cleanup | Campbell Barton | |
2013-10-12 | Further tweak for dual quaternion armature deform problem, tweak the epsilon | Brecht Van Lommel | |
value to solve some more cases. | |||
2013-10-12 | Fix dual quaternion armature deform giving erratic results in some cases. Bug | Brecht Van Lommel | |
was encountered in a Kiribati rig file. The problem was actually in the matrix to quaternion conversion function. One problem is that it was using the wrong matrix indices in case of an ill defined matrix trace. Besides that FLT_EPSILON was too small to detect cases where float precision becomes a problem. | |||
2013-09-11 | add angle_to_mat2 utility function. | Campbell Barton | |
2013-08-23 | set function args in BLI_math_rotation as const where possible. | Campbell Barton | |
2013-07-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |
2013-07-19 | style cleanup: braces/indentation | Campbell Barton | |
2013-06-23 | remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3() | Campbell Barton | |
2013-05-27 | fix error in own recent commit, also other minor changes. | Campbell Barton | |
2013-05-26 | BLI_math rename functions: | Campbell Barton | |
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched. | |||
2013-04-15 | rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3(). | Campbell Barton | |
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized. | |||
2013-04-15 | New implementation for twist brushes. | Antony Riakiotakis | |
It has much better rotation and avoids the compression effect that old twist brushes have. Also twisting is now non periodic, meaning you can twist beyond 180 degrees. The amount of twist is also calculated relative to the angle formed after first translating the mouse away from the brush center. | |||
2013-04-04 | code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵ | Campbell Barton | |
var names. | |||
2013-02-19 | fix for [#34283] wasn't working in my tests (attached to original report), | Campbell Barton | |
made bone roll get compatible angle values with the original roll. | |||
2013-02-11 | style cleanup: also some typos | Campbell Barton | |
2013-01-29 | skip calculating the normal for each face when triangulating, all callers ↵ | Campbell Barton | |
make sure its valid. also remove some commented code (more then one generation of bmesh old). | |||
2013-01-21 | mesh-cache deform modifier, | Campbell Barton | |
supports MDD and PC2 formats. see wiki docs: http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Deform/Mesh_Cache | |||
2013-01-12 | code cleanup: style and replace (float)sin, (float)cos with sinf, cosf | Campbell Barton | |