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