|
|
@@ -31,7 +31,9 @@ class half; |
|
|
|
* Forward declaration of vec_t, mat_t, cmplx_t, quat_t |
|
|
|
*/ |
|
|
|
|
|
|
|
int const FULL_SWIZZLE = 0; |
|
|
|
/* HACK: if this is declared int const, Visual Studio becomes unable |
|
|
|
* to perform template argument deduction. */ |
|
|
|
#define FULL_SWIZZLE (0) |
|
|
|
|
|
|
|
template<typename T, int N, int SWIZZLE = FULL_SWIZZLE> struct vec_t; |
|
|
|
template<typename T, int COLS, int ROWS> struct mat_t; |
|
|
|