Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-04 | Merge commit 'master' into gsoc-2018-many-light-samplinggsoc-2018-many-light-sampling | Sam Kottler | |
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell Barton | |
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat | |||
2019-03-29 | Cleanup: style, use braces for the Python API | Campbell Barton | |
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-03 | Cleanup: trailing commas | Campbell Barton | |
Needed for clan-format not to wrap onto one line. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell Barton | |
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits. | |||
2018-11-14 | Cleanup: python doc-strings | Campbell Barton | |
Indentation & trailing space. | |||
2018-09-19 | Spelling fixes in comments and descriptions, patch by luzpaz. | Brecht Van Lommel | |
Differential Revision: https://developer.blender.org/D3700 | |||
2018-03-19 | Fixed typo Python API | Jeroen Bakker | |
`mathutils.geometry.barycentric_transform` used `tri_a[1-3]` for the target triangle, but in fact they are `tri_b[1-3]` | |||
2018-02-18 | Cleanup: add 2d suffix to BLI files | Campbell Barton | |
Some of these API's can have 3D versions, explicitly name them 2D. | |||
2017-10-20 | Cleanup: redundant casts | Campbell Barton | |
2017-08-22 | PyAPI: replace PyC_FromArray with typed functions | Campbell Barton | |
This was meant to be generic but introduced possible type errors and unnecessary complication. Replace with typed PyC_Tuple_PackArray_* functions. Also add PyC_Tuple_Pack_* macro which replaces some uses of Py_BuildValue, with the advantage of not having to parse a string. | |||
2016-01-28 | cleanup: spelling / typos | Mike Erwin | |
no functional changes | |||
2016-01-25 | Docs: quiet warnings in reference doc syntax | Campbell Barton | |
2015-10-13 | Fix T46002: mathutils.geometry.intersect_line_line_2d doesn't operate on ↵ | Bastien Montagne | |
lines, but on line segments. Ugly issue really, but at least doc now matches behavior of the function. :| | |||
2015-09-04 | Math Lib: Use plane intersect from graphics-gems | Campbell Barton | |
2015-08-22 | Cleanup: spelling | Campbell Barton | |
2015-08-04 | Use PyC_ParseBool to parse bools | Campbell Barton | |
This could cause problems since they could be any int, then passed directly to internal functions that assume bools. | |||
2015-05-03 | Fix typos. | Tamito Kajiyama | |
2015-01-29 | Fix T43473: mathtutils.geometry.interpolate_bezier returns only 2d coordinates | Bastien Montagne | |
Fixed/enhanced a few usages of `mathutils_array_parse()` in this file actually... | |||
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-18 | Fix mathutils docstring typos. | Tamito Kajiyama | |
2014-10-08 | Fix Python ray-cast failing to check hit direction | 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-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-04-26 | Code cleanup: use 'const' for arrays (python) | Campbell Barton | |
2014-03-24 | Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total ↵ | Bastien Montagne | |
height | |||
2014-01-13 | Code Cleanup: spelling | Campbell Barton | |
2014-01-08 | Fix for incorrect use of abs() in intersect_sphere_sphere_2d | Campbell Barton | |
2014-01-06 | Fix for recent kdtree py module with MSVC | Campbell Barton | |
also remove submodule includes from mathutils.h | |||
2013-12-29 | Fix missing check if isect_plane_plane_v3 fails to find an intersection. | Campbell Barton | |
2013-12-11 | Fix intersect_line_plane bug causing crash on Motion trail and other | Benoit Bolsee | |
similar potential bugs in mathutils_geometry marking no_flip as TODO | |||
2013-12-09 | Fix T37715: Incorrect docstring | Campbell Barton | |
2013-11-19 | Fix T37472: crash when packing UV islands. | Campbell Barton | |
2013-09-14 | minor changes needed for building standalone mathutils. | Campbell Barton | |
2013-09-11 | fix [#36020] SmartUV Project is messy on a cube | Campbell Barton | |
was using very simple/stupid check to rotate us islands, replace with box_fit_2d() function. missed docstring last commit. | |||
2013-09-11 | add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d() | Campbell Barton | |
2013-09-10 | misc minor changes | Campbell Barton | |
- make cmake osx use of -ftemplate-depth match scons. - use array size within sizeof(), more compact. - replace AT with __func__ where the function is unique enough. - BLI_box_pack_2D -> 2d to match other functions. - rename new mesh normal calculation to mesh.calc_normals_split() |