aa1668c6f8 
					 
					
						
						
							
							fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectors  
						
						
						
						
					 
					
						2011-07-04 08:13:27 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						31f0b6639a 
					 
					
						
						
							
							more compact code for recent sphere/line intersection functions.  
						
						
						
						
					 
					
						2011-06-26 17:16:06 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						933a65a76f 
					 
					
						
						
							
							2d version of line/circle intersec function.  
						
						
						
						
					 
					
						2011-06-26 11:08:12 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8eb119a5cd 
					 
					
						
						
							
							renamed math functions and made public  
						
						... 
						
						
						
						lambda_cp_line --> line_point_factor_v3
 lambda_cp_line2 --> line_point_factor_v2
correction to previous commit function name
 isect_seg_sphere_v3 --> isect_line_sphere_v3
 ... since its not clipped.
added a clip argument to the python version of the function. 
						
						
					 
					
						2011-06-26 08:07:09 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						540c2eee56 
					 
					
						
						
							
							math func to find the intersection(s) between a segment and a sphere for C/python.  
						
						... 
						
						
						
						from python:
  i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius) 
						
						
					 
					
						2011-06-26 07:21:19 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d46da5a09d 
					 
					
						
						
							
							mathutils support for color arithmetic, also some minor whitespace edits.  
						
						
						
						
					 
					
						2011-06-02 08:29:16 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						15289c6048 
					 
					
						
						
							
							use PyDoc_STRVAR macro, so its possible to build without docstrings.  
						
						
						
						
					 
					
						2011-05-24 16:05:51 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32793a1395 
					 
					
						
						
							
							add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.  
						
						
						
						
					 
					
						2011-05-19 04:28:09 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f9f771cd01 
					 
					
						
						
							
							converted more mixed tab/space indentations to tabs. only whitespace changes.  
						
						
						
						
					 
					
						2011-04-21 15:53:30 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b1cc8ea18a 
					 
					
						
						
							
							incorrect documentation spotted by macouno.  
						
						
						
						
					 
					
						2011-04-14 12:19:31 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9c8f1e2ef4 
					 
					
						
						
							
							imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats.  
						
						
						
						
					 
					
						2011-03-27 17:12:59 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cadc1218c8 
					 
					
						
						
							
							C, style changes (mostly white space edits), no functional change.  
						
						
						
						
					 
					
						2011-03-19 11:12:48 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7348a50d79 
					 
					
						
						
							
							change return values from mathutils callbacks to match pythons (-1 is error), so error macro's can be used in both.  
						
						
						
						
					 
					
						2011-02-28 18:42:41 +00:00 
						 
				 
			
				
					
						
							
							
								Nathan Letwory 
							
						 
					 
					
						
						
							
						
						5a760e22fc 
					 
					
						
						
							
							doxygen: blender/python tagged.  
						
						
						
						
					 
					
						2011-02-27 20:10:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						72bc3f22b7 
					 
					
						
						
							
							python api renaming and added headers for some files which didnt have one, no functionality change.  
						
						
						
						
					 
					
						2011-02-14 04:15:25 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0955c664aa 
					 
					
						
						
							
							fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.  
						
						... 
						
						
						
						- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions. 
						
						
					 
					
						2011-02-13 10:52:18 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8cf1184c04 
					 
					
						
						
							
							bad spelling; 'indicies' --> 'indices'  
						
						
						
						
					 
					
						2011-01-18 01:58:19 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						89c9aaaa25 
					 
					
						
						
							
							remove references to BKE_utildefines where its not needed.  
						
						... 
						
						
						
						- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files. 
						
						
					 
					
						2011-01-07 19:18:31 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f21a43535 
					 
					
						
						
							
							split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.  
						
						... 
						
						
						
						no functional changes. 
						
						
					 
					
						2011-01-07 18:36:47 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						33a5a69d25 
					 
					
						
						
							
							fix for own error with mathutils.geometry argument parsing.  
						
						... 
						
						
						
						also raise ValueError when the vector size is incorrect rather then type error. 
						
						
					 
					
						2011-01-03 12:11:05 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						129b6190ed 
					 
					
						
						
							
							geometry module  
						
						... 
						
						
						
						- rename functions from camel case.
- added docs for undocumented methods.
- minor functional changes with exceptions and accepting 3d/4d vectors where it makes no difference.
Renamed:
 - geometry.Intersect -> intersect_ray_tri
 - geometry.ClosestPointOnLine -> intersect_point_line
 - geometry.PointInTriangle2D -> intersect_point_tri_2d
 - geometry.PointInQuad2D -> intersect_point_quad_2d
 - geometry.LineIntersect -> intersect_line_line
 - geometry.LineIntersect2D -> intersect_line_line_2d
 - geometry.BezierInterp -> interpolate_bezier
 - geometry.TriangleArea -> area_tri
 - geometry.QuadNormal, TriangleNormal -> normal
 - geometry.PolyFill -> tesselate_polygon
 - geometry.BoxPack2D -> box_pack_2d
 - geometry.BarycentricTransform -> barycentric_transform 
						
						
					 
					
						2011-01-02 02:11:38 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						448d24e7a0 
					 
					
						
						
							
							New math util funcitons:  
						
						... 
						
						
						
						- equals_v2v2
- project_v2_v2v2
- isect_seg_seg_v2_point
which would be necessery for my further multires interpolation commit
M_Geometry_LineIntersect2D now uses isect_seg_seg_v2_point(). Behaviour of this
function was changed a bit -- it haven't returned intersection point in several
cases when two segments are making angle. 
						
						
					 
					
						2010-12-11 21:27:39 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b4081bfc7b 
					 
					
						
						
							
							patch [ #25027 ] formatting mathutils.geometry module docs for sphinx  
						
						... 
						
						
						
						from Luka Bonavita
See:
http://www.blender.org/documentation/250PythonDoc/mathutils.geometry.html  
						
						
					 
					
						2010-12-10 00:20:32 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34ea1cf0b2 
					 
					
						
						
							
							minor changes to the python api.  
						
						... 
						
						
						
						- pep8 script was giving an error on non utf8 scons source files.
- use PyList_SET_ITEM macro when list type is ensured.
- all mathutils types use subtypes to create new types when available.
- use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices. 
						
						
					 
					
						2010-11-28 06:03:30 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						96dafef228 
					 
					
						
						
							
							minor edits to exception formatting (remove ... or \n from suffix)  
						
						
						
						
					 
					
						2010-11-23 16:45:17 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ced06081b8 
					 
					
						
						
							
							use PyImport_ExtendInittab for py module initialization rather then adding to sys.modules directly, no functional change.  
						
						
						
						
					 
					
						2010-10-29 22:59:39 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3264ced377 
					 
					
						
						
							
							move geometry python module into mathutils.geometry, since it provides utility functions using mathutils types.  
						
						
						
						
					 
					
						2010-10-25 22:44:01 +00:00