浏览该文件的文档.
27 #ifndef _AK_VECTORVALUERAMP_H_
28 #define _AK_VECTORVALUERAMP_H_
40 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
41 const AkReal32 f4xInc = 4.f*fIncrement;
44 fVal[0] = in_fStartValue;
45 fVal[1] = fVal[0] + fIncrement;
46 fVal[2] = fVal[1] + fIncrement;
47 fVal[3] = fVal[2] + fIncrement;
64 #ifdef AKSIMD_V2F32_SUPPORTED
67 class CAkVectorValueRampV2
73 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
74 const AkReal32 f2xInc = 2.f*fIncrement;
76 AKSIMD_BUILD_V2F32(
const AKSIMD_V2F32 vStartOffset, 0.f, fIncrement );
79 vValueRamp = l_vValueRamp;
98 #endif //_AK_VECTORVALUERAMP_H_
CAkVectorValueRampV4 CAkVectorValueRamp
AkForceInline AKSIMD_V4F32 Setup(AkReal32 in_fStartValue, AkReal32 in_fStopValue, AkUInt32 in_uNumFrames)
float AkReal32
32-bit floating point
uint32_t AkUInt32
Unsigned 32-bit integer
AkForceInline AKSIMD_V4F32 Tick()
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅