mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Fixed errors in skeletal animation code
This commit is contained in:
@@ -160,7 +160,7 @@ private:
|
||||
|
||||
}
|
||||
|
||||
glm::mat4 Bone::InterpolateScaling(float animationTime)
|
||||
glm::mat4 InterpolateScaling(float animationTime)
|
||||
{
|
||||
if (1 == m_NumScalings)
|
||||
return glm::scale(glm::mat4(1.0f), m_Scales[0].scale);
|
||||
|
||||
Reference in New Issue
Block a user