- moved the aspect ratio correction factor from the projection to the view matrix where it should have been from the start.
- removed the mCameraPos variable in FGLRenderer because it was only used in one place where it is just as easy to use the global viewx/y/z variables directly.
This commit is contained in:
parent
045725de15
commit
45cf65afbd
3 changed files with 13 additions and 16 deletions
|
|
@ -90,7 +90,6 @@ FGLRenderer::FGLRenderer(OpenGLFrameBuffer *fb)
|
|||
mLightCount = 0;
|
||||
mAngles = FRotator(0,0,0);
|
||||
mViewVector = FVector2(0,0);
|
||||
mCameraPos = FVector3(0,0,0);
|
||||
mVBO = NULL;
|
||||
mSkyVBO = NULL;
|
||||
gl_spriteindex = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue