1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 14:34:34 +00:00

clean out some dead code and some old commented out code

This commit is contained in:
fgenesis 2012-12-19 06:23:51 +01:00
parent b6ae2a6baa
commit 9eb5b9828a
9 changed files with 24 additions and 2099 deletions

View file

@ -1778,7 +1778,6 @@ void Core::onUpdate(float dt)
//script.update(dt);
cameraPos.update(dt);
cameraRot.update(dt);
globalScale.update(dt);
if (afterEffectManager)
@ -3162,10 +3161,8 @@ void Core::clearBuffers()
void Core::setupRenderPositionAndScale()
{
#ifdef BBGE_BUILD_OPENGL
//glRotatef(cameraRot.z, 0, 0, 1);
glScalef(globalScale.x*globalResolutionScale.x*screenCapScale.x, globalScale.y*globalResolutionScale.y*screenCapScale.y, globalScale.z*globalResolutionScale.z);
glTranslatef(-(cameraPos.x+cameraOffset.x), -(cameraPos.y+cameraOffset.y), -(cameraPos.z+cameraOffset.z));
//glRotatef(180, 0, 1, 0);
#endif
}

View file

@ -1133,7 +1133,7 @@ public:
virtual void onPlayedVoice(const std::string &name){}
InterpolatedVector cameraPos, cameraRot;
InterpolatedVector cameraPos;
int fps;
bool loopDone;