]> git.mxchange.org Git - flightgear.git/commit
Don't allow negative values as argument to pow().
authortimoore <timoore>
Tue, 28 Oct 2008 12:10:27 +0000 (12:10 +0000)
committertimoore <timoore>
Tue, 28 Oct 2008 12:10:27 +0000 (12:10 +0000)
commit5592bb326ffa09df31d39e4068bbe8c20d538280
tree95447c75ab65adfe1ffaf2b2ed360e6ec7262bf0
parentfe83ba71107986bb1a11f61080915d255c47bf88
Don't allow negative values as argument to pow().

This was a source of a spew of "NaN" error messages at night when the
sun is at a large angle to the zenith. I don't know why this wasn't a
problem before now.
src/Main/renderer.cxx