Revision: 40967
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40967&view=rev
Author:   erikgreenwald
Date:     2010-10-12 17:03:26 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
force double mode

Modified Paths:
--------------
    brlcad/branches/bottie/src/librt/primitives/bot/btg.c

Modified: brlcad/branches/bottie/src/librt/primitives/bot/btg.c
===================================================================
--- brlcad/branches/bottie/src/librt/primitives/bot/btg.c       2010-10-12 
12:46:54 UTC (rev 40966)
+++ brlcad/branches/bottie/src/librt/primitives/bot/btg.c       2010-10-12 
17:03:26 UTC (rev 40967)
@@ -43,7 +43,7 @@
     if(tie == NULL)
        return NULL;
 
-    tie_init(tie, ntri, TIE_KDTREE_FAST);
+    tie_init1(tie, ntri, TIE_KDTREE_FAST);
 }
 
 void
@@ -51,7 +51,7 @@
 {
     struct tie_s *tie = (struct tie_s *)vtie;
 
-    tie_push(tie, tri, ntri, u, pstride);
+    tie_push1(tie, tri, ntri, u, pstride);
 }
 
 int
@@ -71,7 +71,7 @@
     bot->tie = bot_ip->tie;
     tie = bot_ip->tie;
 
-    tie_prep((struct tie_s *)bot_ip->tie);
+    tie_prep1((struct tie_s *)bot_ip->tie);
 
     VMOVE(stp->st_min, tie->min.v);
     VMOVE(stp->st_max, tie->max.v);
@@ -131,8 +131,6 @@
     VMOVE(ray.dir.v, rp->r_dir);
     ray.depth = ray.kdtree_depth = 0;
 
-    bu_log("Shooting [%d] %g,%g,%g -> %g,%g,%g\n", tie->tri_num, 
V3ARGS(ray.pos.v), V3ARGS(ray.dir.v));
-
     tie_work1(tie, &ray, &id, hitfunc, &hitdata);
 
     /* use hitfunc to build the hit list */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to