From 004a7ac0f7f1b3f4d5e27cdbc3e17c2cee5dbfcb Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 28 Feb 2021 20:45:08 -0500 Subject: [PATCH] stuff --- demo/demo.cpp | 2 -- main.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/demo.cpp b/demo/demo.cpp index 62d232b..66364b7 100644 --- a/demo/demo.cpp +++ b/demo/demo.cpp @@ -10,10 +10,8 @@ void game::run(SDL_Renderer* renderer) SDL_RenderDrawLine(renderer, ray2.start.x, ray2.start.y, ray2.end.x, ray2.end.y); } - //demo rays with moving object global::entList.at(0)->x = global::mousePos.x; global::entList.at(0)->y = global::mousePos.y; - global::entList.run(renderer); global::entList3D.run(renderer); } \ No newline at end of file diff --git a/main.cpp b/main.cpp index 432d324..613702c 100644 --- a/main.cpp +++ b/main.cpp @@ -19,6 +19,7 @@ int main(int argc, char** argv) SDL_Event eventHandler; global::entList.push_back(&square(200, 200, 50)); + //global::entList3D.push_back(&cube(200, 200, 200, 50)); while (global::running) {