Do you happen to recall the title of that book? Or what it was about?
Was this it?
As to what it was about? I recall it featuring programming flight simulations, BUT it might have been primarily a book about computer graphics, or game dev generally with a section on flight simulations. My memory tells me that the front cover had a sort of callout(*) with a proclamation that it had a section on using quaternions.
(*) Callout, splash, burst, sticker, badge, seal, bastard, pick your favourite graphic design term.