[brlcad-commits] SF.net SVN: brlcad: [31153] brlcad/trunk/src/librt/g_hyp.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-05-21 00:52:19
|
Revision: 31153 http://brlcad.svn.sourceforge.net/brlcad/?rev=31153&view=rev Author: brlcad Date: 2008-05-20 17:52:27 -0700 (Tue, 20 May 2008) Log Message: ----------- go even smaller, use SMALL_FASTF instead of the deprecated SMALL size Modified Paths: -------------- brlcad/trunk/src/librt/g_hyp.c Modified: brlcad/trunk/src/librt/g_hyp.c =================================================================== --- brlcad/trunk/src/librt/g_hyp.c 2008-05-21 00:52:16 UTC (rev 31152) +++ brlcad/trunk/src/librt/g_hyp.c 2008-05-21 00:52:27 UTC (rev 31153) @@ -435,7 +435,7 @@ x = hitp->hit_vpriv[X]; y = hitp->hit_vpriv[Y]; z = hitp->hit_vpriv[Z]; - if ( NEAR_ZERO(z, SMALL) ) { + if ( NEAR_ZERO(z, SMALL_FASTF) ) { /* near z==0, the norm is in the x-y plane */ VSET( n, x, y, 0 ); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |