From bf7e73b20a4c8f3b2f6801b8e192d30ccf55a490 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 15 Dec 2016 13:28:07 -0600 Subject: [PATCH] updated to work with the new cylinder class --- main.cu | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) 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