Better fix for DRTVWR-559 mac build breakage

master
Brad Kittenbrink 2022-09-29 13:58:05 -07:00
parent 5c83ac76b5
commit f2867c71db
2 changed files with 6 additions and 5 deletions

View File

@ -33,6 +33,7 @@ class LLVector4;
#include "llerror.h"
#include "llmath.h"
#include "llsd.h"
#include "v3math.h" // needed for linearColor3v implemtation below
#include <string.h>
// LLColor3 = |r g b|
@ -498,4 +499,9 @@ inline const LLColor3 linearColor3(const T& a) {
return linearColor3(a.mV);
}
template<class T>
inline const LLVector3 linearColor3v(const T& a) {
return LLVector3(linearColor3(a.mV).mV);
}
#endif

View File

@ -609,9 +609,4 @@ inline std::ostream& operator<<(std::ostream& s, const LLVector3 &a)
return s;
}
template<class T>
inline const LLVector3 linearColor3v(const T& a) {
return LLVector3(linearColor3(a.mV).mV);
}
#endif