|
#ifndef SCIENTIFICTYPES_H
#define SCIENTIFICTYPES_H
typedef struct _Vector {
double X;
double Y;
double Z;
} Vector;
typedef struct _StateVector {
Vector Pos;
Vector Vel;
} StateVector;
typedef struct _EulerArray {
double Roll;
double Yaw;
double Pitch;
} EulerArray;
typedef struct _Quaternion {
double QS; // Scalar
// Vector part
Vector QV;
} Quaternion;
#endif // ! defined (SCIENTIFICTYPES_H)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Senior Software Developer in C/C++ and Oracle.
Ex-physicist holding a Ph.D. on x-ray lasers.