OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:secondsDelta
(Results
1 - 2
of
2
) sorted by null
/external/replicaisland/src/com/replica/replicaisland/
Interpolator.java
60
public float interpolate(float
secondsDelta
) {
69
scaledAcceleration = scaleAcceleration(directionalAcceleration,
secondsDelta
);
72
float positionOffset = (oldVelocity *
secondsDelta
) + scaledAcceleration;
75
float newVelocity = oldVelocity + (directionalAcceleration *
secondsDelta
);
119
private float scaleAcceleration(float acceleration, float
secondsDelta
) {
120
float timeSquared = (
secondsDelta
*
secondsDelta
);
GameThread.java
60
float
secondsDelta
= (time - mLastTime) * 0.001f;
61
if (
secondsDelta
> 0.1f) {
62
secondsDelta
= 0.1f;
66
mGameRoot.update(
secondsDelta
, null);
Completed in 45 milliseconds