ba7fbf6ae7
formatting edits & doc correction, no functional changes.
2011-11-16 03:56:34 +00:00
72a7101576
include invalid type name in mathutils error messages.
2011-11-13 09:20:04 +00:00
057bf2a02b
misc doc edits
...
- 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-11-05 01:48:10 +00:00
82c84f4b58
Remove some more $Id$ that still were left after r41227 and r41228.
2011-10-23 19:01:59 +00:00
6105199668
Remove the svn:keywords property.
2011-10-23 18:38:16 +00:00
276e5f7095
formatting edits & remove debug print.
2011-10-13 01:29:08 +00:00
05683f8e52
edits to argument parsing for Euler.rotate_axis, also corrected some exception messages and minor style edits.
2011-09-19 15:13:16 +00:00
0f5d3a3ddb
add back mathutils Matrix() * Vector(), this is row_vector multiplication.
...
some minor changes to exception messages.
2011-09-19 14:29:21 +00:00
e98074d327
remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.
2011-08-16 13:10:46 +00:00
165e6dbc07
Adding a readonly length_squared property to mathutils.Vector. This is simply vector.dot(vector), so nothing new is really added, but it's nice for writing more intent revealing code. In other words:
...
if vec.dot(vec) > some_distance*some_distance:
do_something()
might not be quite as obvious looking as:
if vec.length_squared > some_distance*some_distance:
do_something()
As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).
2011-08-11 09:40:14 +00:00
ced8f1dffc
deprecate multiplication orders:
...
vector * matrix
vector *= matrix
vector * quaternion
vector *= quaternion
Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
3a6158a8bf
move mathutils into its own lib.
2011-07-15 04:01:47 +00:00