Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/anim/res/
Danim_ResAnimCurve.cpp60 static const KeyType* GetKey( const ResFloatSegmentFVData* pSegment, uint keyIdx ) in GetKey() argument
61 { return &(pSegment->fv64.m_KeyValue[ keyIdx ]); } in GetKey()
76 static const KeyType* GetKey( const ResFloatSegmentFVData* pSegment, uint keyIdx ) in GetKey() argument
77 { return &(pSegment->fv32.m_KeyValue[ keyIdx ]); } in GetKey()
79 static FrameType QuantizedFrame( const ResFloatSegmentFVData* pSegment, f32 frame ) in QuantizedFrame() argument
81 f32 decoded = frame / pSegment->fv32.m_FrameScale; in QuantizedFrame()
85 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
88 return frame * pSegment->fv32.m_FrameScale; in GetFrameF32()
90 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
93 return value * pSegment->fv32.m_Scale + pSegment->fv32.m_Offset; in GetValue()
[all …]