From 40db18bb15cb1c154c51d0a6517ed1550297e7a6 Mon Sep 17 00:00:00 2001 From: pgovyadi Date: Tue, 2 Aug 2016 18:42:46 -0500 Subject: [PATCH] un-did an accedental removal --- stim/gl/gl_spider.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stim/gl/gl_spider.h b/stim/gl/gl_spider.h index 549ecf2..25efd24 100644 --- a/stim/gl/gl_spider.h +++ b/stim/gl/gl_spider.h @@ -1387,13 +1387,12 @@ class gl_spider : public virtual gl_texture void MonteCarloDirectionVectors(int nSamples, float solidAngle = 2*M_PI) { - float PHI[2], Z[2]; + float PHI[2], Z[2], range; PHI[0] = asin(solidAngle/2); PHI[1] = asin(0); Z[0] = cos(PHI[0]); Z[1] = cos(PHI[1]); - range = Z[0] - Z[1]; -- libgit2 0.21.4