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
2014-11-20Fix 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-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
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-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2014-06-14Math Lib: mat3_to_eulo2 & mat3_to_eul2 mixed float/double differentlyCampbell Barton
replace sqrt with hypotf to avoid precision loss instead
2014-05-14Code cleanup: doxy commentsCampbell Barton
2014-04-20Code cleanup: correct abs useCampbell Barton
also minor cleanup to rotation code
2014-04-20Math Lib: faster version of rotation_between_vecs_to_mat3Campbell Barton
Use axis/angle calculation but avoid calls to sin/cos
2014-04-19Minor change to recent commit (avoid transpose)Campbell Barton
2014-04-19Math Lib: add rotation_between_vecs_to_mat3Campbell Barton
- behaves like rotation_between_vecs_to_quat - avoids calling sin,cos calls (approx 1.6x faster).
2014-04-19Math Lib: minor optimization for axis_angle_normalized_to_mat3Campbell Barton
2014-03-31Tweak slerp assert to be less pickyCampbell Barton
2014-03-31Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functionsCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-20Math Lib: add angle_qt functionsCampbell Barton
2014-03-16Fix 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-27Fix T38858: Crazy spaces was unpredictable with co-linear edgesCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
2014-01-17Math: Code cleanupSergej Reich
Remove stray #undef directives.
2013-12-05Code Cleanup: use strict flags for math lib, add inline declarationsCampbell Barton
2013-10-22style cleanupCampbell Barton
2013-10-12Further tweak for dual quaternion armature deform problem, tweak the epsilonBrecht Van Lommel
value to solve some more cases.
2013-10-12Fix dual quaternion armature deform giving erratic results in some cases. BugBrecht 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-11add angle_to_mat2 utility function.Campbell Barton
2013-08-23set function args in BLI_math_rotation as const where possible.Campbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-06-23remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()Campbell Barton
2013-05-27fix error in own recent commit, also other minor changes.Campbell Barton
2013-05-26BLI_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-15rename 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-15New 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-04code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵Campbell Barton
var names.
2013-02-19fix 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-11style cleanup: also some typosCampbell Barton
2013-01-29skip 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-21mesh-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-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-11-18style cleanup: comments & spellingCampbell Barton
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-11-03code cleanup: float <> double conversion.Campbell Barton
2012-10-22style cleanupCampbell Barton
2012-10-21style cleanup: commentsCampbell Barton
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-25fix [#32646] Duplifaces can have wrong orientation with ngonsCampbell Barton
concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face.
2012-09-20code 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-25code cleanup: vec_to_quatCampbell Barton
2012-08-25add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' ↵Campbell Barton
var in math_rotation.c