From a09accc22ef5fc09e2ff5231a6e4780102344f0a Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 16 Aug 2017 20:34:19 +0200 Subject: [PATCH] LogoDemo: remove debug log --- examples/Particles/LogoDemo.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/Particles/LogoDemo.cpp b/examples/Particles/LogoDemo.cpp index c127a23db..831fcffd5 100644 --- a/examples/Particles/LogoDemo.cpp +++ b/examples/Particles/LogoDemo.cpp @@ -38,7 +38,6 @@ struct SpriteController : public Nz::ParticleController std::uniform_real_distribution dis(-1.f, 1.f); - unsigned int count = 0; for (unsigned int i = startId; i <= endId; ++i) { Nz::Vector2f newVel = destPtr[i] - posPtr[i]; @@ -48,7 +47,6 @@ struct SpriteController : public Nz::ParticleController float distance = SquaredDistancePointSegment(oldMousePos, actualMousePos, posPtr[i]); if (distance < 250.f) { - count++; Nz::Vector2f mouseLine = actualMousePos - oldMousePos; float mouseLength; mouseLine.Normalize(&mouseLength); @@ -72,8 +70,6 @@ struct SpriteController : public Nz::ParticleController posPtr[i] = destPtr[i]; } } - - std::cout << count << std::endl; } static float SquaredDistancePointSegment(const Nz::Vector2f& s0, const Nz::Vector2f& s1, const Nz::Vector2f& point)