]> git.localhorst.tv Git - gworm.git/blobdiff - src/app/Application.cpp
some lousy world collision, friction, and drag
[gworm.git] / src / app / Application.cpp
index d798b37c757f89b75aab6b41a524ed727caaa076..b7983aa0fcc56323e9bc07629cdcf53409c249c5 100644 (file)
@@ -220,6 +220,7 @@ void Application::RenderUI() {
                canvas.Arrow(screenPos, screenPos + Vector<int>(e.vel * 10.0f));
 
                cout << "entity: pos " << e.pos << ", vel " << e.vel << ", acc " << e.acc << endl;
+               cout << "        vel mag: " << Length(e.vel) << ", acc mag: " << Length(e.acc) << endl;
        }
 }