From ac4264c028d0044042f874bd5b94c6b85c5d3a1d Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Tue, 7 Dec 2021 15:19:40 -0500 Subject: [PATCH] Rename some variables in test script --- examples/dev_testing/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dev_testing/src/main.cpp b/examples/dev_testing/src/main.cpp index 818d002..0ad740c 100644 --- a/examples/dev_testing/src/main.cpp +++ b/examples/dev_testing/src/main.cpp @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) { tri->scale(.75f); game.add_event(tri); */ - /* std::vector vertices = { + /* std::vector cube_vertices = { { simpleengine::Vectorf(-0.5f,0.5f,-0.5f), glm::vec3(1.f, 0.f, 0.f), glm::vec2(1.f, 1.f) }, { simpleengine::Vectorf(-0.5f,-0.5f,-0.5f), glm::vec3(0.f, 1.f, 0.f), glm::vec2(1.f, 0.f) }, { simpleengine::Vectorf(0.5f,-0.5f,-0.5f), glm::vec3(0.f, 0.f, 1.f), glm::vec2(0.f, 0.f) }, @@ -113,7 +113,7 @@ int main(int argc, char *argv[]) { { simpleengine::Vectorf(0.5f,-0.5f,0.5f), glm::vec3(1.f, 1.f, 0.f), glm::vec2(0.f, 1.f) }, }; - std::vector indicies = { + std::vector cube_indicies = { 0,1,3, 3,1,2, 4,5,7, @@ -128,8 +128,8 @@ int main(int argc, char *argv[]) { 23,21,22 }; - auto square = std::make_shared(game.get_window(), base_shader_program, vertices, indicies); - game.add_event(square); */ + auto cube = std::make_shared(game.get_window(), base_shader_program, cube_vertices, cube_indicies); + game.add_event(cube); */ auto camera = std::make_shared(game.get_window(), base_shader_program); game.add_event(camera);