"horizon offset should not be affected by projection hack"

git-svn-id: https://svn.eduke32.com/eduke32@7675 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/build/src/polymost.cpp
This commit is contained in:
terminx 2019-05-19 03:56:24 +00:00 committed by Christoph Oelckers
parent 9df490434d
commit 91b9a605fa

View file

@ -1368,7 +1368,7 @@ static void resizeglcheck(void)
m[0][0] = 1.f; m[0][0] = 1.f;
m[1][1] = fxdimen / (fydimen * ratio); m[1][1] = fxdimen / (fydimen * ratio);
m[2][0] = 2.f * ghoriz2 * gstang / fxdimen; m[2][0] = 2.f * ghoriz2 * gstang / fxdimen;
m[2][1] = 2.f * (ghoriz2 * gctang + ghorizcorrect) / (fydimen * ratio); m[2][1] = 2.f * (ghoriz2 * gctang + ghorizcorrect) / fydimen;
m[2][2] = (farclip + nearclip) / (farclip - nearclip); m[2][2] = (farclip + nearclip) / (farclip - nearclip);
m[2][3] = 1.f; m[2][3] = 1.f;
m[3][2] = -(2.f * farclip * nearclip) / (farclip - nearclip); m[3][2] = -(2.f * farclip * nearclip) / (farclip - nearclip);