diff options
Diffstat (limited to 'indra/llmath/v3math.h')
-rw-r--r-- | indra/llmath/v3math.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmath/v3math.h b/indra/llmath/v3math.h index 068f489020..48c5c21863 100644 --- a/indra/llmath/v3math.h +++ b/indra/llmath/v3math.h @@ -609,4 +609,9 @@ 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 |