From 1af8939fd2622bb1185b91722143e5f3dd19df3c Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 24 May 2017 16:44:43 -0700 Subject: [PATCH] fix unused variables --- examples/SimpleOpenGL3/main.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/SimpleOpenGL3/main.cpp b/examples/SimpleOpenGL3/main.cpp index c05f113d5..0422c96cc 100644 --- a/examples/SimpleOpenGL3/main.cpp +++ b/examples/SimpleOpenGL3/main.cpp @@ -97,14 +97,7 @@ int main(int argc, char* argv[]) int textureHandle = app->m_renderer->registerTexture(image, textureWidth, textureHeight); - int cubeIndex = app->registerCubeShape(1, 1, 1); - b3Vector3 pos = b3MakeVector3(0, 0, 0); - b3Quaternion orn(0, 0, 0, 1); - b3Vector4 color = b3MakeVector4(1, 0, 0,1); - b3Vector3 scaling = b3MakeVector3 (1, 1, 1); - //app->m_renderer->registerGraphicsInstance(cubeIndex, pos, orn, color, scaling); - app->m_renderer->writeTransforms(); do { @@ -151,7 +144,6 @@ int main(int argc, char* argv[]) float yellow[4] = {1,1,0,1}; app->drawText(bla, 10, 10, 1, yellow); - int optionFlag = 0; float position[3] = {1,1,1}; float position2[3] = {0,0,5}; @@ -188,4 +180,4 @@ int main(int argc, char* argv[]) delete[] image; } return 0; -} \ No newline at end of file +}