Home
last modified time | relevance | path

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

/NW4C-1.3.3/include/nw/anim/res/
Danim_ResAnimCurve.h173 struct ResFloatKeyFVS32Data struct
175 ut::ResU8 m_Frame; // u8
176 ut::ResU8 m_ValueSlope[3]; // u12 m_Value * scale + offset; fx6.5 m_Slope;
178 u32 GetFrame() const { return m_Frame; } in GetFrame()
179 f32 GetFrameF32() const { return static_cast<f32>( this->GetFrame() ); } in GetFrameF32()
180 …() const { return static_cast<f32>( u16(m_ValueSlope[0]) + (u16(m_ValueSlope[1] << 4) << 4) ); } in GetValue()
181 …) const { return internal::CastS6_5ToF32((s8(m_ValueSlope[2]) << 4) + (m_ValueSlope[1] >> 4)); } in GetSlope()