Browse Source

Math: simplify vector swizzling rules.

wip/core-clipp
Sam Hocevar 4 years ago
parent
commit
29758c1458
2 changed files with 490 additions and 492 deletions
  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 View File

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


namespace lol namespace lol
{ {


+ 489
- 491
include/lol/private/math/vector.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save