Removed the direct accessing of the seconds counter

so that I don't break the build with my next changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
PSp..om 2012-02-17 00:07:45 +00:00
parent 4e616d9360
commit 07d5451a31

View File

@ -139,8 +139,9 @@ public class SimpleTexturedTest extends SimpleApplication {
@Override @Override
public void simpleUpdate(float tpf) { public void simpleUpdate(float tpf) {
if (secondCounter == 0) // secondCounter has been removed from SimpleApplication
logger.info("Frames per second: " + timer.getFrameRate()); //if (secondCounter == 0)
// logger.info("Frames per second: " + timer.getFrameRate());
spheresContainer.rotate(0.2f * tpf, 0.4f * tpf, 0.8f * tpf); spheresContainer.rotate(0.2f * tpf, 0.4f * tpf, 0.8f * tpf);
} }