From ad85fb705d7fda0c3190126252e06b7a62454ed4 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 18 Mar 2015 19:05:08 +0100 Subject: full grid --- client2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client2.cpp') diff --git a/client2.cpp b/client2.cpp index 7bc7516..d72fe29 100644 --- a/client2.cpp +++ b/client2.cpp @@ -705,8 +705,8 @@ int main(int argc, const char** argv) glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, frame_gl.size().width, frame_gl.size().height, 0, GL_RGB, GL_UNSIGNED_BYTE, frame_gl.ptr(0)); } - - setDrawOnCanvasRange((float)yaw_cam/180.*PI,-(float)pitch_cam/180.*PI,80./180.*PI,45/180.*PI); + + if(i!=0) setDrawOnCanvasRange((float)yaw_cam/180.*PI,-(float)pitch_cam/180.*PI,80./180.*PI,45/180.*PI); glBindBuffer(GL_ARRAY_BUFFER, vboCanvas); glBufferData(GL_ARRAY_BUFFER, sizeof(drawOnCanvasVertices), drawOnCanvasVertices, GL_DYNAMIC_DRAW); -- cgit v1.2.3