Renamed anim::interpolateF to anim::interpolateToF.
This commit is contained in:
parent
34a42aa8c3
commit
d6cdc810c4
1 changed files with 2 additions and 2 deletions
|
|
@ -94,12 +94,12 @@ private:
|
|||
|
||||
};
|
||||
|
||||
TG_FORCE_INLINE float64 interpolateF(int a, int b, float64 b_ratio) {
|
||||
TG_FORCE_INLINE float64 interpolateToF(int a, int b, float64 b_ratio) {
|
||||
return a + float64(b - a) * b_ratio;
|
||||
}
|
||||
|
||||
TG_FORCE_INLINE int interpolate(int a, int b, float64 b_ratio) {
|
||||
return base::SafeRound(interpolateF(a, b, b_ratio));
|
||||
return base::SafeRound(interpolateToF(a, b, b_ratio));
|
||||
}
|
||||
|
||||
#ifdef ARCH_CPU_32_BITS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue