]> git.mxchange.org Git - flightgear.git/commit
James Turner:
authorehofman <ehofman>
Sun, 24 Aug 2008 09:04:24 +0000 (09:04 +0000)
committerehofman <ehofman>
Sun, 24 Aug 2008 09:04:24 +0000 (09:04 +0000)
commitbd832fe32d07fab570fa7b5a01071b32a822f6e0
tree9914198dbf4fecd48cd405f7b58f9db4f8532f82
parentd8f5529d217c3710bcece9244f1f41cfb8550669
James Turner:

Good news: I'm working on some automatic testing of the 'core' FG pieces, especially those I'm likely to break in my Navaids / airports / runways work

Bad news: I already broke something, in my runways refactoring. (But my tests caught it!)

Attached patch fixes it - it's (of course) the stupidest thing in the world. Incidentally, standardising this kind of code into some (inlined) header is becoming more and more of a priority  for me - I've lost count of the number of times I've seen the 'clamp heading to 0..360.0' and 'reverse a heading and clamp it' idioms in the code. The KLN89 and MkVIII code have (of course) their own helpers for this.
src/Airports/simple.cxx