Commit bf7e73b20a4c8f3b2f6801b8e192d30ccf55a490
1 parent
35c77a3e
updated to work with the new cylinder class
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
main.cu
... | ... | @@ -198,6 +198,8 @@ void glut_initialize(){ |
198 | 198 | //place the camera along the z-axis at a distance determined by the network size along x and y |
199 | 199 | cam.setPosition(c + stim::vec<float>(0, 0, camera_factor * std::max(bb.size()[0], bb.size()[1]))); |
200 | 200 | cam.LookAt(c[0], c[1], c[2]); //look at the center of the network |
201 | + | |
202 | + glClearColor(1, 1, 1, 1); | |
201 | 203 | } |
202 | 204 | |
203 | 205 | #ifdef __CUDACC__ | ... | ... |