Revision 18800d29 scout/scoutsim/src/sim_frame.cpp

View differences:

scout/scoutsim/src/sim_frame.cpp
718 718
        M_Emitter::iterator m_it = emitters.begin();
719 719
        M_Emitter::iterator m_end = emitters.end();
720 720

  
721
        //Emitter default values
722
        double bom_aperture = PI / 3.0;
723
        double bom_distance = 1.0;
724
    
725 721
            //iterate over Emitters:
726 722
       for (; m_it != m_end; ++m_it)
727 723
        {
......
784 780
                    bom_pos.theta += 2*PI;
785 781
                }
786 782

  
787
                if(is_inrange(emitter_pos, bom_pos, bom_aperture, bom_distance)) {
783
                if(is_inrange(emitter_pos, bom_pos, BOM_APERTURE, BOM_DISTANCE)) {
788 784
                    string em_id_str = m_it->first.substr(m_it->first.find("_")+1);
789 785
                    int emitter_id = atoi(em_id_str.c_str());
790 786
                    it->second->update_BOM(i, 1, emitter_id);

Also available in: Unified diff