Revision: 56263
          http://sourceforge.net/p/brlcad/code/56263
Author:   brlcad
Date:     2013-07-27 18:08:27 +0000 (Sat, 27 Jul 2013)
Log Message:
-----------
convert and (very) temporarily enable bn_isect_ray_tri()

Modified Paths:
--------------
    brlcad/trunk/src/libbn/plane.c

Modified: brlcad/trunk/src/libbn/plane.c
===================================================================
--- brlcad/trunk/src/libbn/plane.c      2013-07-27 17:58:57 UTC (rev 56262)
+++ brlcad/trunk/src/libbn/plane.c      2013-07-27 18:08:27 UTC (rev 56263)
@@ -2295,11 +2295,10 @@
 }
 
 
-#if 0
 /*
  * B N _ I S E C T _ R A Y _ T R I
  *
- * Intersect a infinite ray with a triangle specified by 3 points.
+ * Intersect an infinite ray with a triangle specified by 3 points.
  * From: "Graphics Gems" ed Andrew S. Glassner:
  *             "An Efficient Ray-Polygon Intersection"  P 390
  *
@@ -2338,16 +2337,15 @@
  * set.
  */
 int
-bn_isect_ray_tri(dist_p, N_p, Alpha_p, Beta_p, pt, dir, V, A, B)
-    fastf_t *dist_p;
-    fastf_t *N_p;
-    fastf_t *Alpha_p;
-    fastf_t *Beta_p;
-    const point_t pt;
-    const vect_t dir;
-    const point_t V;
-    const point_t A;
-    const point_t B;
+bn_isect_ray_tri(fastf_t *dist_p,
+                fastf_t *N_p,
+                fastf_t *Alpha_p,
+                fastf_t *Beta_p,
+                const point_t pt,
+                const vect_t dir,
+                const point_t V,
+                const point_t A,
+                const point_t B)
 {
     vect_t VA; /* V -> A vector */
     vect_t VB; /* V -> B vector */
@@ -2401,7 +2399,6 @@
 
     return entleave;
 }
-#endif
 
 
 int

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to