Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-18 | Fix `mathutils.barycentric_transform()` | Bastien Montagne | |
Dummy typo, we need a 3D vector here... | |||
2015-01-06 | Correct args from recent mathutils refactor | Campbell Barton | |
2015-01-06 | PyAPI: add PyList_APPEND | Campbell 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-06 | PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET | Campbell 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-04 | Fix T43119: mathutils.intersect_point_line always returns a 2D vector as ↵ | Bastien Montagne | |
first value. Trivial, safe for final 2.73. | |||
2015-01-04 | mathutils: refactor instantiation | Campbell 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-02 | cleanup: style | Campbell Barton | |
2014-12-30 | PyAPI: geometry.normal, support polygons | Campbell Barton | |
Previously this only supported tri/quads, now arbitrary size poly lines are supported. | |||
2014-12-30 | PyAPI: allow non-vector args for geometry module | Campbell 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-28 | cleanup: avoid ref-counting None for a new matrix | Campbell Barton | |
2014-12-18 | Fix mathutils docstring typos. | Tamito Kajiyama | |
2014-12-13 | Fix T42885: We still had a few wrong doc in mathutils about methods returning | Bastien Montagne | |
instance of self while actually returning None... | |||
2014-11-29 | Cleanup: unused headers | Campbell Barton | |
2014-11-20 | mathutils.kdtree: fix docstrings | Campbell Barton | |
2014-10-08 | Fix Python ray-cast failing to check hit direction | Campbell Barton | |
2014-09-24 | Cleanup: use float versions of functions when in/output are floats | Campbell Barton | |
2014-09-08 | Fix building as Python module (manpage-generation) | Campbell Barton | |
2014-09-06 | Py 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-06 | Math Lib: Add copy_m2_m2, unit_m2, zero_m2 | Campbell Barton | |
2014-08-13 | Math Lib: rename barycentric_transform -> transform_point_by_tri_v3 | Campbell Barton | |
also add transform_point_by_seg_v3 | |||
2014-08-13 | Math Lib: name signed versions of dist_to_plane_v3 explicitly | Campbell Barton | |
also add unsigned versions | |||
2014-08-07 | Fix for mathutils.Euler on big endian systems | Campbell Barton | |
D719 from jrestemeier with edits | |||
2014-07-23 | Extended mathutils.Vector.orthogonal() to accept a 2D vector. | Tamito Kajiyama | |
Reviewer: Campbell Barton Differential revision: https://developer.blender.org/D668 | |||
2014-07-21 | Py/API: Improve intersect_line_line with parallel lines | Campbell Barton | |
Now comparing the distance between line-intersection points to see how close lines are - doesn't fail in the parallel case. | |||
2014-07-21 | Math Lib: Add isect_point_tri_v3 | Campbell Barton | |
Add to Python via mathutils.geometry | |||
2014-07-19 | Defines: replace ELEM3-16 with ELEM(...), that can take varargs | Campbell Barton | |
2014-07-01 | Python: remove redundant casts | Campbell Barton | |
2014-05-17 | Minor changes for standalone mathutils | Campbell Barton | |
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-04-29 | Code cleanup: quiet warnings | Campbell Barton | |
2014-04-29 | Error in last commit | Campbell Barton | |
2014-04-29 | PyAPI: Matrix.invert(ed): accept an optional fallback argument | Campbell Barton | |
This avoids try/except when its possible the matrix has no inverse. | |||
2014-04-29 | Code cleanup: remove redundant matrix initialization | Campbell Barton | |
2014-04-26 | Code cleanup: use 'const' for arrays (python) | Campbell Barton | |
2014-04-18 | Change Vector.slerp to accept nonunit vectors | Campbell Barton | |
2014-03-31 | Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions | Campbell Barton | |
2014-03-31 | Fix for error in normalize_vn_vn(), add len_squared_vn | Campbell Barton | |
2014-03-28 | Code cleanup: use sqrtf when input and output are float | Campbell Barton | |
2014-03-24 | Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total ↵ | Bastien Montagne | |
height | |||
2014-03-18 | KDTree: deprecate 'normal' argument | Campbell Barton | |
Normals for each kdtree node were allocated but never used, and search args only use in particles/boids code. | |||
2014-03-17 | Python API: add Vector.orthogonal() method | Campbell Barton | |
2014-02-05 | PyAPI: 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-30 | PyAPI: noise.seed_set(), note that zero is a special case. | Campbell Barton | |
2014-01-30 | Fix T38402: invalid message for bad type assignments (Quat, Vector) | Campbell Barton | |
2014-01-27 | Code cleanup: use booleans where appropriate | Campbell Barton | |
2014-01-17 | Code Cleanup: spelling | Campbell Barton | |
2014-01-13 | Code Cleanup: spelling | Campbell Barton | |
2014-01-09 | Fix T38138: incorrect API docs | Campbell Barton | |
2014-01-09 | Fix T38104: mathutils.cell_vector() always returns (0,0,0) | Denis Declara | |
Reviewed By: brecht | |||
2014-01-08 | Fix for incorrect use of abs() in intersect_sphere_sphere_2d | Campbell Barton | |