diff options
author | Florian Jung <flo@windfisch.org> | 2015-03-18 19:05:08 +0100 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-03-18 19:05:08 +0100 |
commit | ad85fb705d7fda0c3190126252e06b7a62454ed4 (patch) | |
tree | c93f66f5c068787db8a6864705921ab9b55c75e3 | |
parent | 0adc1c41ba41cdc60084008a3d5e47cb5c94326c (diff) |
full grid
-rw-r--r-- | client2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<unsigned char>(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); |