lerp uBetween

This commit is contained in:
micuat 2020-10-31 14:08:33 +01:00
parent 5ac2dfa655
commit c97bbf354a

View file

@ -271,7 +271,7 @@ void ofApp::update()
auto joint = skeleton.joints[26]; auto joint = skeleton.joints[26];
bodies.push_back(toGlm(joint.position)); 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 else
{ {