|
@@ -12,6 +12,18 @@ namespace detail
|
|
|
struct outerProduct_trait{};
|
|
struct outerProduct_trait{};
|
|
|
}//namespace detail
|
|
}//namespace detail
|
|
|
|
|
|
|
|
|
|
+#if GLM_HAS_TEMPLATE_ALIASES
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat2x2 = mat<2, 2, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat2x3 = mat<2, 3, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat2x4 = mat<2, 4, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat3x2 = mat<3, 2, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat3x3 = mat<3, 3, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat3x4 = mat<3, 4, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat4x2 = mat<4, 2, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat4x3 = mat<4, 3, T, P>;
|
|
|
|
|
+ template <typename T, precision P = defaultp> using tmat4x4 = mat<4, 4, T, P>;
|
|
|
|
|
+#endif//GLM_HAS_TEMPLATE_ALIASES
|
|
|
|
|
+
|
|
|
template<typename T, precision P, template<typename, precision> class matType>
|
|
template<typename T, precision P, template<typename, precision> class matType>
|
|
|
GLM_FUNC_DECL matType<T, P> inverse(matType<T, P> const & m);
|
|
GLM_FUNC_DECL matType<T, P> inverse(matType<T, P> const & m);
|
|
|
|
|
|