From c97bbf354a421c23c358a14450442bc799a98ad0 Mon Sep 17 00:00:00 2001 From: micuat Date: Sat, 31 Oct 2020 14:08:33 +0100 Subject: [PATCH] lerp uBetween --- zoneb/src/ofApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zoneb/src/ofApp.cpp b/zoneb/src/ofApp.cpp index 2019ba4..c86a64f 100644 --- a/zoneb/src/ofApp.cpp +++ b/zoneb/src/ofApp.cpp @@ -271,7 +271,7 @@ void ofApp::update() auto joint = skeleton.joints[26]; bodies.push_back(toGlm(joint.position)); } - uBetween = bodies.at(0).getInterpolated(bodies.at(1), 0.5f); + uBetween = uBetween.getInterpolated(bodies.at(0).getInterpolated(bodies.at(1), 0.5f), 0.1f); } else {