From 7a13e5c873d4352a0446ec76fbd3314253be3576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 17 Sep 2012 02:00:35 +0200 Subject: [PATCH] Added Color3 and Color4 to TypeTraits. --- src/TypeTraits.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/TypeTraits.h b/src/TypeTraits.h index 11dfea0c4..00d590078 100644 --- a/src/TypeTraits.h +++ b/src/TypeTraits.h @@ -29,6 +29,9 @@ namespace Math { template class Matrix; } +template class Color3; +template class Color4; + /** @brief Traits class for plain OpenGL types @@ -239,6 +242,8 @@ template struct TypeTraits struct TypeTraits>: public TypeTraits> {}; template struct TypeTraits>: public TypeTraits> {}; template struct TypeTraits>: public TypeTraits> {}; +template struct TypeTraits>: public TypeTraits> {}; +template struct TypeTraits>: public TypeTraits> {}; template struct TypeTraits> { inline constexpr static Type type() { return TypeTraits::type(); }