smooth delta uses framerate-averaged instead of raw delta; stupid but works :\

This commit is contained in:
minjaesong
2019-01-20 21:46:11 +09:00
parent 09b4a34d14
commit 40580a57cd
3 changed files with 18 additions and 22 deletions

View File

@@ -41,6 +41,9 @@ class CircularArray<T>(val size: Int) {
//println("$this $unreliableAddCount")
}
fun getHeadElem(): T = buffer[head]
fun getTailElem(): T = buffer[tail]
/**
* Iterates the array with oldest element first.
*/