[brlcad-commits] SF.net SVN: brlcad:[37494] brlcad/trunk/src/librt/primitives/metaball/ metaball_tr
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-01-29 22:32:59
|
Revision: 37494 http://brlcad.svn.sourceforge.net/brlcad/?rev=37494&view=rev Author: erikgreenwald Date: 2010-01-29 22:32:48 +0000 (Fri, 29 Jan 2010) Log Message: ----------- add some minor notes. Change return value to 0. Modified Paths: -------------- brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c Modified: brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c =================================================================== --- brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c 2010-01-29 22:31:41 UTC (rev 37493) +++ brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c 2010-01-29 22:32:48 UTC (rev 37494) @@ -114,7 +114,7 @@ *r = nmg_mrsv(m); /* new empty nmg */ s = BU_LIST_FIRST(shell, &(*r)->s_hd); - bu_log("Booyeah!\n"); + bu_log("Booyeah! %f %f\n", mtol, tol->dist); /* the incredibly na\xEFve approach. Time could be cut in half by simply * caching 4 point values, more by actually marching or doing active @@ -174,10 +174,9 @@ bu_log("metaball tesselate (%d triangles): %s\n", numtri, bu_vls_addr(×)); nmg_mark_edges_real(&s->l.magic); - nmg_region_a(*r, tol); + nmg_region_a(*r, tol); /* this causes a bus error trying to dereference some magic shtuff */ - bu_log("ERROR: rt_metaball_tess called() is not implemented\n"); - return -1; + return 0; } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |