--Code changes

-Modernize some C++ code.
This commit is contained in:
Person
2021-04-19 21:53:25 -06:00
parent 8086cfa731
commit a726b99dea
7 changed files with 110 additions and 110 deletions

View File

@ -132,8 +132,8 @@ public:
{
CopyCont(m_MotionParams, other.m_MotionParams);
m_MotionFunc = other.m_MotionFunc;
m_MotionFreq = T(other.m_MotionFreq);
m_MotionOffset = T(other.m_MotionOffset);
m_MotionFreq = static_cast<T>(other.m_MotionFreq);
m_MotionOffset = static_cast<T>(other.m_MotionOffset);
return *this;
}