Fixed dumb mistakes with references, got rid of unnecessary OpenVulkano::
This commit is contained in:
@@ -22,10 +22,10 @@ namespace OpenVulkano::Scene
|
||||
if(!m_node || m_duration <= 0 || m_elapsed > m_duration)
|
||||
return;
|
||||
|
||||
m_elapsed += OpenVulkano::CURRENT_FRAME.frameTime;
|
||||
m_elapsed += CURRENT_FRAME.frameTime;
|
||||
|
||||
double progress = GetProgress();
|
||||
OpenVulkano::Math::Pose<float> currentPose = m_initialPose.Interpolate(m_targetPose, progress);
|
||||
Math::Pose<float> currentPose = m_initialPose.Interpolate(m_targetPose, progress);
|
||||
m_node->SetMatrix(currentPose.ToMatrix());
|
||||
|
||||
if(m_elapsed > m_duration)
|
||||
|
||||
Reference in New Issue
Block a user