Searched refs:relPos (Results 1 – 1 of 1) sorted by relevance
157 nw::math::VEC3 relPos; in CalcPitch() local158 nw::math::VEC3Sub( &relPos, &actorParam.position, &listener.GetPosition() ); in CalcPitch()159 const f32 distance = nw::math::VEC3Len( &relPos ); in CalcPitch()161 relPos /= distance; in CalcPitch()169 actorVelocity = - nw::math::VEC3Dot( &relPos, &actorParam.velocity ); in CalcPitch()170 listenerVelocity = - nw::math::VEC3Dot( &relPos, &listener.GetVelocity() ); in CalcPitch()