瀏覽代碼

base: FUCK VISUAL STUDIO; VISUAL STUDIO IS DYING; VISUAL STUDIO SUCKS;

VISUAL STUDIO IS DEAD TO ME; VISUAL STUDIO DID WTC.
undefined
Sam Hocevar 10 年之前
父節點
當前提交
50fc5c818c
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/lol/base/types.h

+ 3
- 1
src/lol/base/types.h 查看文件

@@ -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;


Loading…
取消
儲存