Home
last modified time | relevance | path

Searched refs:pSegment (Results 1 – 1 of 1) sorted by relevance

/NW4C-1.3.3/sources/libraries/anim/res/
Danim_ResAnimCurve.cpp44 static const KeyType* GetKey( const ResFloatSegmentFVData* pSegment, uint keyIdx ) in GetKey() argument
45 { return &(pSegment->fv64.m_KeyValue[ keyIdx ]); } in GetKey()
60 static const KeyType* GetKey( const ResFloatSegmentFVData* pSegment, uint keyIdx ) in GetKey() argument
61 { return &(pSegment->fv32.m_KeyValue[ keyIdx ]); } in GetKey()
63 static FrameType QuantizedFrame( const ResFloatSegmentFVData* pSegment, f32 frame ) in QuantizedFrame() argument
65 f32 decoded = (frame - pSegment->fv32.m_FrameOffset) / pSegment->fv32.m_FrameScale; in QuantizedFrame()
69 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
72 return frame * pSegment->fv32.m_FrameScale + pSegment->fv32.m_FrameOffset; in GetFrameF32()
74 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
77 return value * pSegment->fv32.m_Scale + pSegment->fv32.m_Offset; in GetValue()
[all …]