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-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!
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2012-03-18code cleanup: not all mathutils callback creation functions tool unsigned ↵Campbell Barton
char for type & subtype args.
2012-03-17minor mathutils code cleanup - use mathutils callbacks as unsigned chars ↵Campbell Barton
everywhere.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-12-26fix for a bug in mathutils when a vector was accessing a matrix and the ↵Campbell Barton
matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.
2011-12-24mathtils, convenience attributes added 'row' and 'col', this makes the ↵Campbell Barton
row/col swap a lot easier to deal with, since now you can still use column access previously... mat[2] = 1, 2, 3 needed to be converted into... mat[0][2] = 1 mat[1][2] = 2 mat[2][2] = 3 but with column access you can do... mat.col[2] = 1, 2, 3 Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.
2011-12-24fix for error with matrix access and negative indices with recent row/col swap.Campbell Barton
2011-12-24mathutils get/set function rename + minor changes to matrix functions (no ↵Campbell Barton
functional changes)
2011-12-22Matrix.translation wrapper vector, continent accessing to matrix[3][0:3].Campbell Barton
this is a part of patch 29534, being applied separately from patch [#29534] Change Matrix Representation and Access in Python to Conform with Standard Notation by Andrew Hale (trumanblending)
2011-12-20patch [#29662] Modifications to Mathutils Vectors for Consistency with ↵Campbell Barton
Commit 42752 from Andrew Hale
2011-12-20rename internal matrix struct member vars to avoid confusionCampbell Barton
Matrix.contigPtr --> matrix Matrix.row_size --> num_col Matrix.col_size --> num_row
2011-12-19corrections to some commentsCampbell Barton
2011-12-19remove mathutils internal variable for storing pointers to each matrix row, ↵Campbell Barton
instead use macros to access row/column's. also add an assert so invalid index access will raise an error in debug mode, without this it was quite easy to access invalid memory without meaning to. no functional change.
2011-11-30formatting edits (120 width max) and remove some redundant castsCampbell Barton
2011-11-24rename mathutils constructors to match other parts of the bpy/api (no ↵Campbell Barton
functional changes)
2011-11-05misc doc editsCampbell Barton
- remove recently added sphinx reference workaround. - tested doxygen, correct some warnings, set tab width and added pymathutils group. - added convenience target 'make doc_doxy'
2011-10-23Remove some more $Id$ that still were left after r41227 and r41228.Guillermo S. Romero
2011-10-23Remove the svn:keywords property.Guillermo S. Romero
2011-07-15move mathutils into its own lib.Campbell Barton