aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_function.cpp
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-21 13:38:24 -0400
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-21 13:38:24 -0400
commit37c6087206c933143e9f2cd2b369532493a46740 (patch)
treed700cd6af34a16ad4976b937b994e1cdf9cddf9c /tests/hello_function.cpp
parent9d13d403934bcbf1e8fe0d008a65f0984f2245d7 (diff)
Use only the z component of the distance vector
The length of the vector should give us more precise fogs, but ancient OpenGL only uses the z component, so that's what we need to use here as well.
Diffstat (limited to 'tests/hello_function.cpp')
0 files changed, 0 insertions, 0 deletions