Resources for Learning how to Program Fixed Wing Airplanes?

What resources were used to learn the concepts and math/control logic used to program fixed wing aircraft? I’m trying to get a grasp behind the math/logic in general for controlling fixed wing along a path, since planes can’t just “simply lean”(yes I know it’s an oversimplification) in the direction they want to fly towards to.