[brlcad-commits] SF.net SVN: brlcad: [30527] brlcad/trunk/src/librt/g_metaball.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2008-03-14 20:58:59
|
Revision: 30527 http://brlcad.svn.sourceforge.net/brlcad/?rev=30527&view=rev Author: erikgreenwald Date: 2008-03-14 13:58:54 -0700 (Fri, 14 Mar 2008) Log Message: ----------- fix up output a little Modified Paths: -------------- brlcad/trunk/src/librt/g_metaball.c Modified: brlcad/trunk/src/librt/g_metaball.c =================================================================== --- brlcad/trunk/src/librt/g_metaball.c 2008-03-14 20:28:55 UTC (rev 30526) +++ brlcad/trunk/src/librt/g_metaball.c 2008-03-14 20:58:54 UTC (rev 30527) @@ -151,7 +151,6 @@ if (dist > r) r = dist; } - printf("radius? %g\n", r); return r; } @@ -218,7 +217,7 @@ mb = (struct rt_metaball_internal *)stp->st_specific; RT_METABALL_CK_MAGIC(mb); for ( BU_LIST_FOR( mbpt, wdb_metaballpt, &mb->metaball_ctrl_head)) ++metaball_count; - bu_log( "Metaball with %d points and a threshold of %g (%s rendering)\n", metaball_count, mb->threshold ); + bu_log( "Metaball with %d points and a threshold of %g (%s rendering)\n", metaball_count, mb->threshold, rt_metaball_lookup_type_name(mb->method) ); metaball_count=0; for ( BU_LIST_FOR( mbpt, wdb_metaballpt, &mb->metaball_ctrl_head)) bu_log("\t%d: %g field strength at (%g, %g, %g) and 'goo' of %g\n", ++metaball_count, mbpt->fldstr, V3ARGS(mbpt->coord), mbpt->sweat); @@ -271,7 +270,6 @@ VSUB2(v, mbpt->coord, *p); ret += exp((mbpt->sweat/mbpt->fldstr) * MAGSQ(v) - mbpt->sweat); } - printf("%g\n", ret); return ret; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |