These should be inline now that they arent member functions.
This commit is contained in:
@@ -175,13 +175,13 @@ int AICachedPointerPtr<KEY, T>::sCnt;
|
||||
namespace LLKeyframeMotionLerp
|
||||
{
|
||||
template<typename T>
|
||||
T lerp(F32 t, const T& before, const T& after)
|
||||
inline T lerp(F32 t, const T& before, const T& after)
|
||||
{
|
||||
return ::lerp(before, after, t);
|
||||
}
|
||||
|
||||
template<>
|
||||
LLQuaternion lerp(F32 t, const LLQuaternion& before, const LLQuaternion& after)
|
||||
inline LLQuaternion lerp(F32 t, const LLQuaternion& before, const LLQuaternion& after)
|
||||
{
|
||||
return ::nlerp(t, before, after);
|
||||
}
|
||||
|
||||
@@ -1056,6 +1056,7 @@ void LLHUDNameTag::reshape()
|
||||
|
||||
F32 LLHUDNameTag::LLHUDTextSegment::getWidth(const LLFontGL* font)
|
||||
{
|
||||
// Singu note: Reworked hotspot. Less indirection
|
||||
if (mFontWidthMap[0].first == font)
|
||||
{
|
||||
return mFontWidthMap[0].second;
|
||||
|
||||
Reference in New Issue
Block a user