lerp uBetween
This commit is contained in:
parent
5ac2dfa655
commit
c97bbf354a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue