Go to the documentation of this file.
28 #ifndef _AK_VECTORVALUERAMP_H_
29 #define _AK_VECTORVALUERAMP_H_
41 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
42 const AkReal32 f4xInc = 4.f*fIncrement;
45 fVal[0] = in_fStartValue;
46 fVal[1] = fVal[0] + fIncrement;
47 fVal[2] = fVal[1] + fIncrement;
48 fVal[3] = fVal[2] + fIncrement;
65 #ifdef AKSIMD_V2F32_SUPPORTED
68 class CAkVectorValueRampV2
74 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
75 const AkReal32 f2xInc = 2.f*fIncrement;
77 AKSIMD_BUILD_V2F32(
const AKSIMD_V2F32 vStartOffset, 0.f, fIncrement );
80 vValueRamp = l_vValueRamp;
99 #endif //_AK_VECTORVALUERAMP_H_
CAkVectorValueRampV4 CAkVectorValueRamp
AkForceInline AKSIMD_V4F32 Setup(AkReal32 in_fStartValue, AkReal32 in_fStopValue, AkUInt32 in_uNumFrames)
AkForceInline AKSIMD_V4F32 Tick()
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise