Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/snd/
Dsnd_Sound3DCalculator.cpp72 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcVolumeAndPriority() local
75 actorDistance, in CalcVolumeAndPriority()
114 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcPan() local
119 actorDistance, in CalcPan()
222 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcBiquadFilterValue() local
229 if( actorDistance > maxVolumeDistance ) in CalcBiquadFilterValue()
232 ( actorDistance - maxVolumeDistance ) / in CalcBiquadFilterValue()
246 f32 actorDistance, in CalcVolumeAndPriorityImpl() argument
262 if ( actorDistance > maxVolumeDistance ) in CalcVolumeAndPriorityImpl()
267 volume = std::powf( decayRatio, ( actorDistance - maxVolumeDistance ) / unitDistance ); in CalcVolumeAndPriorityImpl()
[all …]
/NW4C-2.0.3/include/nw/snd/
Dsnd_Sound3DCalculator.h192 f32 actorDistance,
204 f32 actorDistance,
216 f32 actorDistance,
228 f32 actorDistance,
237 f32 actorDistance,