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
2015-01-18Fix `mathutils.barycentric_transform()`Bastien Montagne
Dummy typo, we need a 3D vector here...
2015-01-06Correct args from recent mathutils refactorCampbell Barton
2015-01-06PyAPI: add PyList_APPENDCampbell Barton
This appends while giving ownership to the list, avoiding temp assignment. This matches PyList_SET_ITEM which bypasses refcount's Note, this also reduce code-size, Py_DECREF is a rather heavy macro.
2015-01-06PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RETCampbell Barton
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator.
2015-01-04Fix T43119: mathutils.intersect_point_line always returns a 2D vector as ↵Bastien Montagne
first value. Trivial, safe for final 2.73.
2015-01-04mathutils: refactor instantiationCampbell Barton
remove 'type' argument, very few mathutils objects are wrapped, add new function for creating wrapped objects. also fixes unlikely memory leak if the data-array can't be allocated.
2015-01-02cleanup: styleCampbell Barton
2014-12-30PyAPI: geometry.normal, support polygonsCampbell Barton
Previously this only supported tri/quads, now arbitrary size poly lines are supported.
2014-12-30PyAPI: allow non-vector args for geometry moduleCampbell Barton
Previously only vector args were accepted, now allow generic sequence of numbers. Was annoying to create vectors just to pass in args.
2014-12-28cleanup: avoid ref-counting None for a new matrixCampbell Barton
2014-12-18Fix mathutils docstring typos.Tamito Kajiyama
2014-12-13Fix T42885: We still had a few wrong doc in mathutils about methods returningBastien Montagne
instance of self while actually returning None...
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-20mathutils.kdtree: fix docstringsCampbell Barton
2014-10-08Fix Python ray-cast failing to check hit directionCampbell Barton
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-08Fix building as Python module (manpage-generation)Campbell Barton
2014-09-06Py Mathutils: add `invert_safe()` and `inverted_safe()` to `Matrix`.Bastien Montagne
Those two mimic our BLI invert_m4_m4_safe - they add a small offset to diagonal values, in case org matrix is degenerated, and if still non-invertible, return identity matrix. Org patch by me, final enhanced version by ideasman42, many thanks!
2014-09-06Math Lib: Add copy_m2_m2, unit_m2, zero_m2Campbell Barton
2014-08-13Math Lib: rename barycentric_transform -> transform_point_by_tri_v3Campbell Barton
also add transform_point_by_seg_v3
2014-08-13Math Lib: name signed versions of dist_to_plane_v3 explicitlyCampbell Barton
also add unsigned versions
2014-08-07Fix for mathutils.Euler on big endian systemsCampbell Barton
D719 from jrestemeier with edits
2014-07-23Extended mathutils.Vector.orthogonal() to accept a 2D vector.Tamito Kajiyama
Reviewer: Campbell Barton Differential revision: https://developer.blender.org/D668
2014-07-21Py/API: Improve intersect_line_line with parallel linesCampbell Barton
Now comparing the distance between line-intersection points to see how close lines are - doesn't fail in the parallel case.
2014-07-21Math Lib: Add isect_point_tri_v3Campbell Barton
Add to Python via mathutils.geometry
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-01Python: remove redundant castsCampbell Barton
2014-05-17Minor changes for standalone mathutilsCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-29Code cleanup: quiet warningsCampbell Barton
2014-04-29Error in last commitCampbell Barton
2014-04-29PyAPI: Matrix.invert(ed): accept an optional fallback argumentCampbell Barton
This avoids try/except when its possible the matrix has no inverse.
2014-04-29Code cleanup: remove redundant matrix initializationCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (python)Campbell Barton
2014-04-18Change Vector.slerp to accept nonunit vectorsCampbell Barton
2014-03-31Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functionsCampbell Barton
2014-03-31Fix for error in normalize_vn_vn(), add len_squared_vnCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-24Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total ↵Bastien Montagne
height
2014-03-18KDTree: deprecate 'normal' argumentCampbell Barton
Normals for each kdtree node were allocated but never used, and search args only use in particles/boids code.
2014-03-17Python API: add Vector.orthogonal() methodCampbell Barton
2014-02-05PyAPI: mathutils.Vector.cross now works for 2d vectors (returns a float)Campbell Barton
also fixed crash when running on large vectors (raises exception now)
2014-01-30PyAPI: noise.seed_set(), note that zero is a special case.Campbell Barton
2014-01-30Fix T38402: invalid message for bad type assignments (Quat, Vector)Campbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-17Code Cleanup: spellingCampbell Barton
2014-01-13Code Cleanup: spellingCampbell Barton
2014-01-09Fix T38138: incorrect API docsCampbell Barton
2014-01-09Fix T38104: mathutils.cell_vector() always returns (0,0,0)Denis Declara
Reviewed By: brecht
2014-01-08Fix for incorrect use of abs() in intersect_sphere_sphere_2dCampbell Barton