XPLMDrawInfo_t

The XPLMDrawInfo_t structure contains positioning info for one object that is to be drawn. Be sure to set structSize to the size of the structure for future expansion.

typedef struct {
     // Set this to the size of this structure!
     int                       structSize;
     // X location of the object in local coordinates.
     float                     x;
     // Y location of the object in local coordinates.
     float                     y;
     // Z location of the object in local coordinates.
     float                     z;
     // Pitch in degres to rotate the object, positive is up.
     float                     pitch;
     // Heading in local coordinates to rotate the object, clockwise.
     float                     heading;
     // Roll to rotate the object.
     float                     roll;
} XPLMDrawInfo_t;