Home
last modified time | relevance | path

Searched defs:ResFloatKeyFVSS48Data (Results 1 – 1 of 1) sorted by relevance

/NW4C-1.3.3/include/nw/anim/res/
Danim_ResAnimCurve.h134 struct ResFloatKeyFVSS48Data struct
136 ut::ResU8 m_FrameValue[3]; // u8 m_Frame; u16 m_Value * scale + offset;
137 ut::ResU8 m_InOutSlope[3]; // fx6.5 m_InSlope; fx6.5 m_OutSlope;
139 u32 GetFrame() const { return m_FrameValue[0]; } in GetFrame()
140 f32 GetFrameF32() const { return static_cast<f32>( this->GetFrame() ); } in GetFrameF32()
141 …Value() const { return static_cast<f32>( u16(m_FrameValue[1]) + (u16(m_FrameValue[2]) << 8) ); } in GetValue()
142 …const { return internal::CastS6_5ToF32( s16(m_InOutSlope[0] + (s8(m_InOutSlope[1] << 4) << 4)) ); } in GetInSlope()
143 …nst { return internal::CastS6_5ToF32( s16((s8(m_InOutSlope[2]) << 4) + (m_InOutSlope[1] >> 4)) ); } in GetOutSlope()