Sfoglia il codice sorgente

Math: simplify vector swizzling rules.

wip/core-clipp
Sam Hocevar 4 anni fa
parent
commit
29758c1458
2 ha cambiato i file con 490 aggiunte e 492 eliminazioni
  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 Vedi File

@@ -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
File diff soppresso perché troppo grande
Vedi File


Caricamento…
Annulla
Salva