#include "directbase.h"
Go to the source code of this file.
Functions | |
template<class NumericType> void | lerp_value (NumericType ¤t_value, double d, const NumericType &starting_value, const NumericType &ending_value) |
Applies the linear lerp computation for a single parameter. | |
template<class NumericType> void | lerp_value_from_prev (NumericType ¤t_value, double d, double prev_d, const NumericType &prev_value, const NumericType &ending_value) |
Applies the linear lerp computation for a single parameter, when the starting value is implicit. |
Definition in file lerp_helpers.h.
|
Applies the linear lerp computation for a single parameter.
Definition at line 49 of file lerp_helpers.h. References INLINE. |
|
Applies the linear lerp computation for a single parameter, when the starting value is implicit. This computes the new value based on assuming the prev_value represents the value computed at delta prev_d. Definition at line 75 of file lerp_helpers.h. |