Revision: 56928
http://sourceforge.net/p/brlcad/code/56928
Author: brlcad
Date: 2013-08-18 16:32:25 +0000 (Sun, 18 Aug 2013)
Log Message:
-----------
and since w1 is now gone, P is apparently also unused.
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/hrt/hrt.c
Modified: brlcad/trunk/src/librt/primitives/hrt/hrt.c
===================================================================
--- brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-18 16:29:18 UTC (rev
56927)
+++ brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-18 16:32:25 UTC (rev
56928)
@@ -161,7 +161,6 @@
fastf_t magsq_x, magsq_y, magsq_z;
vect_t Xu, Yu, Zu;
mat_t R;
- vect_t P; /* used for bounding RPP */
fastf_t f;
hip = (struct rt_hrt_internal *)ip->idb_ptr;
@@ -185,19 +184,16 @@
VMOVE(&R[8], Zu);
/* X */
- VSET(P, 1.0, 0, 0); /* Bounding plane normal */
f = hip->xdir[X];
(*min)[X] = hip->v[X] - f;
(*max)[X] = hip->v[X] + f;
/* Y */
- VSET(P, 0, 1.0, 0); /* Bounding plane normal */
f = hip->ydir[Y];
(*min)[Y] = hip->v[Y] - f;
(*max)[Y] = hip->v[Y] + f;
/* Y */
- VSET(P, 0, 0, 1.0); /* Bounding plane normal */
f = hip->zdir[Z];
(*min)[Z] = hip->v[Z] - f;
(*max)[Z] = hip->v[Z] + f * 1.25;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits