]> git.mxchange.org Git - flightgear.git/blobdiff - src/Radio/antenna.cxx
Merge branch 'merge-requests/1555' into next
[flightgear.git] / src / Radio / antenna.cxx
index e3909103bd0dd2e958526213e0a7df51dec09f60..d6184890723f3bb985674c905afb9e997fbaa2c5 100644 (file)
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+
+
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#include <math.h>
+
+#include <stdlib.h>
+
+#include <Scenery/scenery.hxx>
+#include "antenna.hxx"
+
+
+FGRadioAntenna::FGRadioAntenna() {
+       
+       _mirror_y = 1;
+       _mirror_z = 1;
+       _invert_ground = 0;
+}
+
+FGRadioAntenna::~FGRadioAntenna() {
+       
+}
+
+double FGRadioAntenna::calculate_gain(double azimuth, double elevation) {
+       return 0;
+}
+
+
+
+/*** load external plot file generated by NEC4
+***/
+void FGRadioAntenna::load_antenna_pattern() {
+       
+}