diff --git a/main.cu b/main.cu index 2877e5c..937a163 100644 --- a/main.cu +++ b/main.cu @@ -198,6 +198,8 @@ void glut_initialize(){ //place the camera along the z-axis at a distance determined by the network size along x and y cam.setPosition(c + stim::vec(0, 0, camera_factor * std::max(bb.size()[0], bb.size()[1]))); cam.LookAt(c[0], c[1], c[2]); //look at the center of the network + + glClearColor(1, 1, 1, 1); } #ifdef __CUDACC__ -- libgit2 0.21.4