Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/snd/
Dsnd_Sound3DCalculator.cpp70 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcVolumeAndPriority() local
73 actorDistance, in CalcVolumeAndPriority()
112 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcPan() local
117 actorDistance, in CalcPan()
220 const f32 actorDistance = nw::math::VEC3Len( &pos ); in CalcBiquadFilterValue() local
227 if( actorDistance > maxVolumeDistance ) in CalcBiquadFilterValue()
230 ( actorDistance - maxVolumeDistance ) / in CalcBiquadFilterValue()
244 f32 actorDistance, in CalcVolumeAndPriorityImpl() argument
260 if ( actorDistance > maxVolumeDistance ) in CalcVolumeAndPriorityImpl()
265 volume = std::powf( decayRatio, ( actorDistance - maxVolumeDistance ) / unitDistance ); in CalcVolumeAndPriorityImpl()
[all …]
/NW4C-1.3.3/include/nw/snd/
Dsnd_Sound3DCalculator.h190 f32 actorDistance,
202 f32 actorDistance,
214 f32 actorDistance,
226 f32 actorDistance,
235 f32 actorDistance,