/external/jmonkeyengine/engine/src/android/com/jme3/system/android/ |
AndroidTimer.java | 49 private float tpf; field in class:AndroidTimer 82 return tpf; 86 tpf = (getTime() - previousTime) * (1.0f / TIMER_RESOLUTION); 87 fps = 1.0f / tpf;
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
NanoTimer.java | 48 private float tpf; field in class:NanoTimer 79 return tpf; 83 tpf = (getTime() - previousTime) * (1.0f / TIMER_RESOLUTION); 84 fps = 1.0f / tpf;
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
TestBareBonesApp.java | 73 float tpf = timer.getTimePerFrame(); local 74 boxGeom.rotate(tpf * 2, tpf * 4, tpf * 3); 77 boxGeom.updateLogicalState(tpf); 81 renderManager.render(tpf, context.isRenderable());
|
/external/jmonkeyengine/engine/src/test/jme3test/app/state/ |
TestAppStates.java | 85 float tpf = timer.getTimePerFrame(); local 87 stateManager.update(tpf); 91 renderManager.render(tpf, context.isRenderable());
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglSmoothingTimer.java | 63 private long[] tpf; field in class:LwjglSmoothingTimer 98 tpf = new long[TIMER_SMOOTHNESS]; 102 // set tpf... -1 values will not be used for calculating the average in update() 103 for ( int i = tpf.length; --i >= 0; ) { 104 tpf[i] = -1; 159 tpf[smoothIndex] = frameDiff; 162 smoothIndex = tpf.length - 1; 168 for ( int i = tpf.length; --i >= 0; ) { 169 if ( tpf[i] != -1 ) { 170 lastTPF += tpf[i] [all...] |
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/ |
BulletAppState.java | 34 protected float tpf; field in class:BulletAppState 98 pSpace.update(tpf * getSpeed()); 168 public void update(float tpf) { 175 this.tpf = tpf; 185 pSpace.update(active ? tpf * speed : 0);
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
SimpleApplication.java | 84 public void onAction(String name, boolean value, float tpf) { 230 float tpf = timer.getTimePerFrame() * speed; local 233 stateManager.update(tpf); 236 simpleUpdate(tpf); 238 rootNode.updateLogicalState(tpf); 239 guiNode.updateLogicalState(tpf); 246 renderManager.render(tpf, context.isRenderable()); 265 public void simpleUpdate(float tpf) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
AnimationFactory.java | 124 protected float tpf; field in class:AnimationFactory 168 tpf = 1 / (float) fps; 188 addKeyFrameTransform((int) (time / tpf), transform); 208 addKeyFrameTranslation((int) (time / tpf), translation); 230 addKeyFrameRotation((int) (time / tpf), rotation); 258 addKeyFrameRotationAngles((int) (time / tpf), x, y, z); 315 addKeyFrameScale((int) (time / tpf), scale); 406 times[i] = i * tpf;
|