Commit ae4cb7e9a5e59dc93a23c7386b85a9a397224660

Authored by David Mayerich
1 parent 3f0e43ce

fixed aabb errors

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cpp/vote3_atomic_aabb.cuh
... ... @@ -50,7 +50,7 @@
50 50 float step = 360.0/n;
51 51 stim::circle<float> cir(center, d, norm);
52 52 stim::aabb3<int> bb(xi,yi,zi);
53   - bb.insert(xc,yc,zc);
  53 + bb.insert((int)xc, (int)yc, (int)zc);
54 54 for(float j = 0; j <360.0; j += step){
55 55 stim::vec3<float> out = cir.p(j);
56 56 bb.insert(out[0], out[1], out[2]);
... ...