XPMP2-Sample/XPMP2-Sample.cpp
void CirclePos (positionTy& pos,
                float heading,
                float radius)
{
    const double head_rad = deg2rad(heading);
    pos.x += radius * sin(head_rad);        // east axis
    pos.z -= radius * cos(head_rad);        // south axis
}
/// Put the position on a circle around itself

Put the position on a circle around itself
Put the position on a circle around itself
void CirclePos (positionTy& pos,
                float heading,
                float radius)
{
    const double head_rad = deg2rad(heading);
    pos.x += radius * sin(head_rad);        
    pos.z -= radius * cos(head_rad);        
}
void CirclePos ( positionTy & pos , float heading , float radius ) { const double head_rad = deg2rad ( heading ) ; pos . x += radius * sin ( head_rad ) ; pos . z -= radius * cos ( head_rad ) ; }
Put the position on a circle around itself
Put the position on a circle around itself
// east axis
 // south axis
