Fix gltf animation channel sampler
This commit is contained in:
parent
3570cb4fea
commit
33488e67ca
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ namespace psemek::gfx
|
|||
{
|
||||
auto it = std::lower_bound(input_.begin(), input_.end(), time);
|
||||
if (it == input_.begin())
|
||||
return output_.back();
|
||||
return output_.front();
|
||||
if (it == input_.end())
|
||||
return output_.back();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue