Revision: 57003
http://sourceforge.net/p/brlcad/code/57003
Author: ejno
Date: 2013-08-20 19:02:51 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
remove old code
Modified Paths:
--------------
brlcad/branches/opencl/src/librt/primitives/sph/sph_shot.cl
Modified: brlcad/branches/opencl/src/librt/primitives/sph/sph_shot.cl
===================================================================
--- brlcad/branches/opencl/src/librt/primitives/sph/sph_shot.cl 2013-08-20
19:01:59 UTC (rev 57002)
+++ brlcad/branches/opencl/src/librt/primitives/sph/sph_shot.cl 2013-08-20
19:02:51 UTC (rev 57003)
@@ -7,24 +7,7 @@
#endif
-/*
__kernel void sph_shot(__global __write_only double3 *output,
- const double3 o, const double3 l, const double3 c, const double r)
-{
- double A = dot(l, l);
- double B = 2*dot(l, o-c);
- double C = dot(o-c, o-c) - r*r;
- double disc = B*B - 4*A*C;
-
- if (disc <= 0) return;
- double q = B < 0 ? (-B + sqrt(disc))/2 : (-B - sqrt(disc))/2;
- output[0] = q/A;
- output[1] = C/q;
-}
-*/
-
-
-__kernel void sph_shot(__global __write_only double3 *output,
const double3 o, const double3 dir, const double3 V, const double radsq)
{
double3 ov; // ray origin to center (V - P)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits