[brlcad-commits] SF.net SVN: brlcad:[40429] brlcad/trunk/src/librt/primitives/bot/bot.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-09-02 14:38:01
|
Revision: 40429 http://brlcad.svn.sourceforge.net/brlcad/?rev=40429&view=rev Author: erikgreenwald Date: 2010-09-02 14:37:52 +0000 (Thu, 02 Sep 2010) Log Message: ----------- change infinity (a c++ symbol) to INFINITY (a number) for subtraction... Modified Paths: -------------- brlcad/trunk/src/librt/primitives/bot/bot.c Modified: brlcad/trunk/src/librt/primitives/bot/bot.c =================================================================== --- brlcad/trunk/src/librt/primitives/bot/bot.c 2010-09-02 13:57:18 UTC (rev 40428) +++ brlcad/trunk/src/librt/primitives/bot/bot.c 2010-09-02 14:37:52 UTC (rev 40429) @@ -2791,7 +2791,7 @@ max_xval = (&bot->vertices[i*3])[X]; /* sanity to make sure our book-keeping doesn't go haywire */ - if (NEAR_ZERO((&bot->vertices[i*3])[X] - infinity, SMALL_FASTF)) { + if (NEAR_ZERO((&bot->vertices[i*3])[X] - INFINITY, SMALL_FASTF)) { bu_log("WARNING: Unable to fuse due to vertex with infinite value (idx=%ld)\n", i); return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |