From ae4cb7e9a5e59dc93a23c7386b85a9a397224660 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Tue, 14 Mar 2017 10:26:58 -0500 Subject: [PATCH] fixed aabb errors --- cpp/vote3_atomic_aabb.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/vote3_atomic_aabb.cuh b/cpp/vote3_atomic_aabb.cuh index 25d263f..763eba6 100644 --- a/cpp/vote3_atomic_aabb.cuh +++ b/cpp/vote3_atomic_aabb.cuh @@ -50,7 +50,7 @@ float step = 360.0/n; stim::circle cir(center, d, norm); stim::aabb3 bb(xi,yi,zi); - bb.insert(xc,yc,zc); + bb.insert((int)xc, (int)yc, (int)zc); for(float j = 0; j <360.0; j += step){ stim::vec3 out = cir.p(j); bb.insert(out[0], out[1], out[2]); -- libgit2 0.21.4