- moved the matrix math for the sky dome into backend independent code.
This commit is contained in:
parent
bac435333b
commit
34ee04f2ce
5 changed files with 65 additions and 51 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue