-more JGE cleanup
-removed calls to BindTexture that were made out of the Render methods. Please let me know if this has side effects (and let's discuss it in that case)
-Still no luck with the purple screen bug :(
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-03 08:50:44 +00:00
parent a8607ebf64
commit 888edfd5b8
9 changed files with 38 additions and 266 deletions
-25
View File
@@ -435,31 +435,6 @@ void JMD2Model::Render()
if (mModel == NULL)
return;
// int startFrame = mAnimations[mState]->mStartFrame;
// int endFrame = mAnimations[mState]->mEndFrame;
//
// if ( (startFrame < 0) || (endFrame < 0) )
// return;
//
// if ( (startFrame >= mModel->numFrames) || (endFrame >= mModel->numFrames) )
// return;
// if (mModel->interpol >= 1.0)
// {
// mModel->interpol = 0.0f;
// mModel->currentFrame++;
// if (mModel->currentFrame >= endFrame)
// mModel->currentFrame = startFrame;
//
// mModel->nextFrame = mModel->currentFrame + 1;
//
// if (mModel->nextFrame >= endFrame)
// {
// mModel->nextFrame = startFrame;
// CheckNextState();
// }
// }
pointList = &mModel->pointList[mModel->numPoints*mModel->currentFrame];
nextPointList = &mModel->pointList[mModel->numPoints*mModel->nextFrame];