[Gtkradiant] r400 - in GtkRadiant/branches/Rambetter-math-fix-experiments: libs libs/mathlib tools/quake3/q3map2

svn-noreply at zerowing.idsoftware.com svn-noreply at zerowing.idsoftware.com
Fri Dec 31 22:11:04 CST 2010


Author: rambetter
Date: Fri Dec 31 22:11:04 2010
New Revision: 400

Modified:
   GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h
   GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib/mathlib.c
   GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c
Log:
Making progress	on the SnapPlane() and SnapNormal() issues.

- Removing DIST_EPSILON	#define	from map.c.  It's unused and only confuses
programmers.

- Adding new function SnapPlaneImproved() to map.c which is like
SnapPlane(), only it takes an additional argument which	is the "center".
This new function is not being used anywhere yet.

- In mathlib, adding VectorIsOnAxis() and VectorIsOnAxialPlane(), two
convenience methods that will help make	other code look	more intuitive.


Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h?view=diff&rev=400&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r1=399&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r2=400
==============================================================================

Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib/mathlib.c
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib/mathlib.c?view=diff&rev=400&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib/mathlib.c&r1=399&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib/mathlib.c&r2=400
==============================================================================

Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c?view=diff&rev=400&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c&r1=399&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c&r2=400
==============================================================================



More information about the Gtkradiant mailing list