mutils ~master (2018-10-28T20:05:58Z)
Dub
Repo
TimeIndexGetter
mutils
timeline
utils
Undocumented in source.
struct
TimeIndexGetter {
uint
lastIndex
;
float
lastTime
;
void
reset
();
void
set
(T[] slice, float time);
uint
[
2
]
index
(T[] slice, float time);
T
[]
passedFromLast
(T[] slice, float time);
}
Members
Functions
index
uint
[
2
]
index
(T[] slice, float time)
Returns [currIndex, nextIndex]
passedFromLast
T
[]
passedFromLast
(T[] slice, float time)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void
reset
()
Undocumented in source. Be warned that the author may not have intended to support it.
set
void
set
(T[] slice, float time)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
lastIndex
uint
lastIndex
;
Undocumented in source.
lastTime
float
lastTime
;
Undocumented in source.
Meta
Source
See Implementation
mutils
timeline
utils
structs
TimeIndexGetter