void AddKey(float frame, const Quaternion& quat) { int count = m_keys.GetCount(); ZAssert(count == 0 || frame > m_keys.GetEnd().m_frame); m_keys.PushEnd(); m_keys.GetEnd().m_frame = frame; m_keys.GetEnd().m_quat = quat; }
void AddKey(float frame, const Vector& vec) { int count = m_keys.GetCount(); ZAssert(count == 0 || frame > m_keys.GetEnd().m_frame); m_keys.PushEnd(); m_keys.GetEnd().m_frame = frame; m_keys.GetEnd().m_vec = vec; }