From 6cd2535d9b4a8b09fed1c6514fb12def387c3d4c Mon Sep 17 00:00:00 2001 From: Jerboa-app Date: Sun, 8 Sep 2024 10:31:42 +0100 Subject: [PATCH] Dynamics, rm profile --- examples/Shape/CMakeLists.txt | 2 -- examples/Shape/main.cpp | 19 ++++++++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/examples/Shape/CMakeLists.txt b/examples/Shape/CMakeLists.txt index 88629d36..ce802b9f 100644 --- a/examples/Shape/CMakeLists.txt +++ b/examples/Shape/CMakeLists.txt @@ -16,8 +16,6 @@ endif() include_directories(.) -add_link_options("-Wl,--no-as-needed,-lprofiler,--as-needed") - add_executable(${OUTPUT_NAME} ${SRC}) target_link_libraries(${OUTPUT_NAME} jGL) diff --git a/examples/Shape/main.cpp b/examples/Shape/main.cpp index 3d57aeca..c7b9f910 100644 --- a/examples/Shape/main.cpp +++ b/examples/Shape/main.cpp @@ -83,17 +83,14 @@ int main(int argv, char ** argc) jGLInstance->clear(); - // for (unsigned i = 0; i getTransform(std::to_string(i)); - // trans[i] = jGL::Transform - // ( - // tr.x+dt*(rng.nextFloat()-0.5), - // tr.y+dt*(rng.nextFloat()-0.5), - // tr.theta, - // tr.scaleX - // ); - // } + for (unsigned i = 0; i draw(shader, uinfo);