09ff49755f 
					 
					
						
						
							
							math api edits - replace point-normal form for a plane with dist_to_plane_v3()  
						
						 
						
						... 
						
						
						
						also correct python mathutils api, was missing vector checks. 
						
						
					 
					
						2013-08-23 14:37:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f3654ce6b6 
					 
					
						
						
							
							fix incorrect docs [ #36518 ] Vector.rotate() does not return value as documented  
						
						 
						
						
						
						
					 
					
						2013-08-20 08:41:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7db1d6556d 
					 
					
						
						
							
							code cleanup: add break statements in switch ()'s, (even at the last case).  
						
						 
						
						
						
						
					 
					
						2013-07-21 08:16:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						418011907c 
					 
					
						
						
							
							remove nan copyrights from code added since blender become opensource (copy paste errors), also remove BKE_script.h  
						
						 
						
						
						
						
					 
					
						2013-07-02 10:14:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						04a9c0e28a 
					 
					
						
						
							
							bump mathutils callback slot size.  
						
						 
						
						
						
						
					 
					
						2013-05-17 07:10:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5018ea5e29 
					 
					
						
						
							
							real fix for [ #35097 ], (curve cap flipping).  
						
						 
						
						... 
						
						
						
						previous commit was incorrect, the face flipping depended on the orientation of the curve.
fix by passing the bevel direction to the fill function so we can have a reliable front/back.
This also gives some speedup for all curve filling since we can avoid calculating the normal since its already known. 
						
						
					 
					
						2013-04-26 21:04:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c667f1ff10 
					 
					
						
						
							
							utility function volume_tetrahedron(), for mathutils and BLI math.  
						
						 
						
						
						
						
					 
					
						2013-04-21 13:24:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a120049c3b 
					 
					
						
						
							
							use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions.  
						
						 
						
						
						
						
					 
					
						2013-04-16 09:04:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						eb66c45301 
					 
					
						
						
							
							correct pyapi function intersect_line_sphere_2d() using 3d vecs when only 2d are needed.  
						
						 
						
						
						
						
					 
					
						2013-04-14 11:57:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						858ff6b696 
					 
					
						
						
							
							Fix for [ #34898 ] Typo in error message of mathutils.Vector  
						
						 
						
						... 
						
						
						
						* Also fixed some more cases of "more then" -> "more than". 
						
						
					 
					
						2013-04-07 15:09:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						18d2dd7e3a 
					 
					
						
						
							
							Merging r55547 through r55594 from trunk into soc-2008-mxcurioni  
						
						 
						
						
						
						
					 
					
						2013-03-26 09:09:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						64d161de87 
					 
					
						
						
							
							style cleanup:  
						
						 
						
						... 
						
						
						
						also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function. 
						
						
					 
					
						2013-03-26 07:29:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0397cc0bab 
					 
					
						
						
							
							fix for assert(), were not enough mathutils slots.  
						
						 
						
						
						
						
					 
					
						2013-03-18 22:53:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						16b82845ee 
					 
					
						
						
							
							code cleanup: add 'const' to headers to quiet msvc warnings, also remove (char *) casts that aren't needed now we're on Python3.3  
						
						 
						
						
						
						
					 
					
						2013-03-17 18:30:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f9f7070336 
					 
					
						
						
							
							add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for some areas of the python api, bmesh.  
						
						 
						
						
						
						
					 
					
						2013-03-10 06:18:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f44b7868c5 
					 
					
						
						
							
							add mathutils function to intersect 2 circles. Converted to C from a python script by Alex Fraser.  
						
						 
						
						
						
						
					 
					
						2013-01-28 11:52:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b2c66e268f 
					 
					
						
						
							
							replace MIN/MAX 3,4 with inline functions  
						
						 
						
						
						
						
					 
					
						2012-12-21 05:07:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc7a138830 
					 
					
						
						
							
							correct bad comment  
						
						 
						
						
						
						
					 
					
						2012-12-16 10:28:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						950fb66c38 
					 
					
						
						
							
							replace TypeError with Value error for matrix operations where the type is right but it can't succeed because of a property of the instance (normally the wrong col/row size).  
						
						 
						
						
						
						
					 
					
						2012-12-16 04:10:57 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1886ae38b4 
					 
					
						
						
							
							add Matrix.normalized(), handy for transforming normals.  
						
						 
						
						
						
						
					 
					
						2012-12-16 04:05:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						adf7bfa8bb 
					 
					
						
						
							
							ifdef out dynstr so mathutils can be compiled as an external module again.  
						
						 
						
						
						
						
					 
					
						2012-12-08 01:16:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f7f4148b40 
					 
					
						
						
							
							change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.  
						
						 
						
						
						
						
					 
					
						2012-12-02 04:51:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf6994b910 
					 
					
						
						
							
							code cleanup: spelling,  
						
						 
						
						... 
						
						
						
						also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later. 
						
						
					 
					
						2012-11-12 07:33:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						004f8d78ed 
					 
					
						
						
							
							default to Python3.3 on Linux for SCons and CMake, warn when building with python 3.2x or older.  
						
						 
						
						... 
						
						
						
						also remove casts to keep Python3.2 warning quiet. 
						
						
					 
					
						2012-11-05 13:48:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fae6c35ca7 
					 
					
						
						
							
							code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few files since its done throughout the code in some places.  
						
						 
						
						
						
						
					 
					
						2012-11-04 07:18:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e8a70d4b90 
					 
					
						
						
							
							fix for crash in python matrix utility functions .inverted/adjugated/transposed if the matrix has a read callback and fails.  
						
						 
						
						... 
						
						
						
						also replace DM_get_poly_data_layer with dm->getPolyDataArray() since this is the convention in subsurf code and the functions now added. 
						
						
					 
					
						2012-10-31 03:21:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dbb40e805d 
					 
					
						
						
							
							py api: add mathutils.Matrix adjugate(d) methods, also add adjoint_m2_m2() to BLI_math_matrix  
						
						 
						
						
						
						
					 
					
						2012-10-29 03:36:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9fc95bd7ee 
					 
					
						
						
							
							use min/max inline functions where MIN2/MAX2 were doing type conversion.  
						
						 
						
						
						
						
					 
					
						2012-10-27 11:18:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fec81d9b56 
					 
					
						
						
							
							use min_ max_ functions in more places.  
						
						 
						
						... 
						
						
						
						also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong. 
						
						
					 
					
						2012-10-23 16:21:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c56a911cd9 
					 
					
						
						
							
							style cleanup: comments  
						
						 
						
						
						
						
					 
					
						2012-10-20 20:20:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						92862f96dc 
					 
					
						
						
							
							code cleanup: use float sizes for function args.  
						
						 
						
						
						
						
					 
					
						2012-10-15 23:11:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						40186a8c11 
					 
					
						
						
							
							remove BLI_noise from BLI_blenlib.h, not that many files need this.  
						
						 
						
						
						
						
					 
					
						2012-10-12 00:18:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						97d4fb4161 
					 
					
						
						
							
							code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too.  
						
						 
						
						
						
						
					 
					
						2012-10-09 13:36:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						aa49ca25d5 
					 
					
						
						
							
							incorrect spelling in comments  
						
						 
						
						
						
						
					 
					
						2012-09-26 20:05:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25c96bc9f3 
					 
					
						
						
							
							code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc  
						
						 
						
						
						
						
					 
					
						2012-09-20 01:02:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7aeaeaf378 
					 
					
						
						
							
							fix bug in mathutils.geometry.intersect_point_line() where 4D vectors were treated as 2D.  
						
						 
						
						... 
						
						
						
						also change behavior to return a 2d vector when all args are 2D. 
						
						
					 
					
						2012-08-28 11:27:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						77f0be7fec 
					 
					
						
						
							
							support unary positive operators for vectors (same as numpy), so you can do 'vector_a = +vector_b', this makes a copy.  
						
						 
						
						
						
						
					 
					
						2012-08-27 13:40:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						71d1b09708 
					 
					
						
						
							
							minor code cleanup  
						
						 
						
						
						
						
					 
					
						2012-08-25 12:55:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						41ee294618 
					 
					
						
						
							
							don't pass the same value to axis_angle_to_quat() for axis & quat.  
						
						 
						
						... 
						
						
						
						-/-This line, and those below, will be ignored--
M    mathutils_Quaternion.c 
						
						
					 
					
						2012-07-25 16:46:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						382ded688a 
					 
					
						
						
							
							Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).  
						
						 
						
						
						
						
					 
					
						2012-07-17 18:14:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						32cf7fcdb1 
					 
					
						
						
							
							code cleanup: spelling  
						
						 
						
						
						
						
					 
					
						2012-07-16 23:23:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						84bf3e48c0 
					 
					
						
						
							
							style cleanup: use c style comments in C code  
						
						 
						
						
						
						
					 
					
						2012-07-06 23:56:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						81a509fa40 
					 
					
						
						
							
							fix error in node template and quiet warning.  
						
						 
						
						
						
						
					 
					
						2012-07-03 21:03:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						78ae6ac2a5 
					 
					
						
						
							
							utility function to get the points inside a list of planes.  
						
						 
						
						
						
						
					 
					
						2012-06-27 09:51:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						200584e5c6 
					 
					
						
						
							
							fix for a handful of memory leaks relating to parsing and allocating arbitrary sized vectors from python args.  
						
						 
						
						... 
						
						
						
						Vector.dot() was always leaking memory, and would crash if args sizes didnt match.
These errors were introduced with n-dimensional vector support.
also fixed an error with bmesh py api allocation. 
						
						
					 
					
						2012-06-26 16:58:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e32c467713 
					 
					
						
						
							
							mathutils.Vector(kw=value) wasn't raising an error as it should.  
						
						 
						
						
						
						
					 
					
						2012-06-26 14:49:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f5f25b81e8 
					 
					
						
						
							
							style cleanup:  
						
						 
						
						... 
						
						
						
						also fix for building ghost test and fix double free in one of the tests 
						
						
					 
					
						2012-06-17 09:58:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf0d350b51 
					 
					
						
						
							
							Fixing first part of [ #31760 ] Assignments not working properly for Object.dimensions  
						
						 
						
						... 
						
						
						
						Problem was in fact that non-linear-contiguous axis assignement was broken (i.e. location.xy would work as expected, but location.xz would only affect .x part)... Now all possibilities should work fine.
Did not try to fix the problem specific to obj.dimension (when assigning multiple times to this array, only the last one is taken into account - in fact, a simple print() shows that assigning to dimension is not taken into account immediately), not sure whether this is normal behavior, or if we need a specific "update" of some kind for this prop? 
						
						
					 
					
						2012-06-11 18:58:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5caeeec1fe 
					 
					
						
						
							
							Corrected documentation for intersect_point_quad_2d to match exactly how  
						
						 
						
						... 
						
						
						
						it works in C side: only convex quads without singularities gives predictable
results. 
						
						
					 
					
						2012-06-06 08:08:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63788b47d6 
					 
					
						
						
							
							add vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compat  
						
						 
						
						
						
						
					 
					
						2012-05-26 11:01:01 +00:00