浏览代码

Math: simplify vector swizzling rules.

wip/core-clipp
Sam Hocevar 4 年前
父节点
当前提交
29758c1458
共有 2 个文件被更改,包括 490 次插入492 次删除
  1. +1
    -1
      include/lol/private/math/ops.h
  2. +489
    -491
      include/lol/private/math/vector.h

+ 1
- 1
include/lol/private/math/ops.h 查看文件

@@ -23,7 +23,7 @@
// HACK: if this is declared int const, Visual Studio becomes unable
// to perform template argument deduction.
// FIXME: should we get rid of this #define?
#define FULL_SWIZZLE (0)
#define FULL_SWIZZLE (-1)

namespace lol
{


+ 489
- 491
include/lol/private/math/vector.h
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存