- moved the matrix math for the sky dome into backend independent code.

This commit is contained in:
Christoph Oelckers 2018-06-18 18:18:28 +02:00
commit 34ee04f2ce
5 changed files with 65 additions and 51 deletions

View file

@ -219,9 +219,6 @@ Mat4f PolySkyDome::GLSkyMath()
int texh = 0;
int texw = 0;
// 57 world units roughly represent one sky texel for the glTranslate call.
const float skyoffsetfactor = 57;
Mat4f modelMatrix = Mat4f::Identity();
if (tex)
{