Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2012-12-11 | define the size of matrix args for both rows/cols. | Campbell Barton | |
2012-11-18 | style cleanup: comments & spelling | Campbell Barton | |
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-11-03 | code cleanup: float <> double conversion. | Campbell Barton | |
2012-10-22 | style cleanup | Campbell Barton | |
2012-10-21 | style cleanup: comments | Campbell Barton | |
2012-09-27 | incorrect spelling in comments | Campbell Barton | |
2012-09-25 | fix [#32646] Duplifaces can have wrong orientation with ngons | Campbell Barton | |
concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face. | |||
2012-09-20 | code cleanup: remove unused macros, commet some which may be useful later - ↵ | Campbell Barton | |
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc | |||
2012-08-25 | code cleanup: vec_to_quat | Campbell Barton | |
2012-08-25 | add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' ↵ | Campbell Barton | |
var in math_rotation.c |