Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Functions | |
Transformation | linear_interpolate_uncapped (const Transformation &a, const Transformation &b, double blend) |
Transformation | linear_interpolate (const Transformation &a, const Transformation &b, double blend) |
|
inline |
Definition at line 12 of file lerp.h.
References linear_interpolate_uncapped().
Referenced by GameStarSystem::Draw(), and GameUnit< UnitType >::Draw().
Transformation linear_interpolate_uncapped | ( | const Transformation & | a, |
const Transformation & | b, | ||
double | blend | ||
) |
Definition at line 3 of file lerp.cpp.
References a, UniverseUtil::acos(), b, DotProduct(), f, float, Quaternion::Normalize(), Transformation::orientation, Transformation::position, Quaternion::s, UniverseUtil::sin(), and Quaternion::v.
Referenced by LinearPrediction::Interpolate(), and linear_interpolate().