FlightGear next
Rotor.cpp File Reference
#include <simgear/debug/logstream.hxx>
#include "Math.hpp"
#include <Main/fg_props.hxx>
#include "Rotorpart.hpp"
#include "Glue.hpp"
#include "Ground.hpp"
#include "Rotor.hpp"
#include <iostream>
#include <iomanip>
#include <stdio.h>
#include <string.h>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  yasim
 

Macros

#define p(a, b)
 
#define _base   base
 
#define _forward   forward
 
#define _normal   normal
 
#define i(x)
 
#define iv(x)
 
#define p(a)
 
#define p(a, b)
 

Functions

static float yasim::sqr (float a)
 
std::ostream & yasim::operator<< (std::ostream &out, Rotor &r)
 

Variables

const float yasim::pi =3.14159
 

Macro Definition Documentation

◆ _base

#define _base   base

◆ _forward

#define _forward   forward

◆ _normal

#define _normal   normal

◆ i

#define i ( x)
Value:
<< #x << ":" << r.x << endl

◆ iv

#define iv ( x)
Value:
<< #x << ":" << r.x[0] << ";" << r.x[1] << ";" <<r.x[2] << ";" << endl

◆ p [1/3]

#define p ( a)
Value:
r->setParameter(#a,_##a);

◆ p [2/3]

#define p ( a,
b )
Value:
if (strcmp(parametername,#a)==0) _##a = (value * (b)); else

◆ p [3/3]

#define p ( a,
b )
Value:
if (strcmp(parametername,#a)==0) _##a = (value * (b)); else