Bläddra i källkod

Math: remove some obsolete swizzling members for vectors.

wip/core-clipp
Sam Hocevar 4 år sedan
förälder
incheckning
3bceb0b46f
1 ändrade filer med 67 tillägg och 67 borttagningar
  1. +67
    -67
      include/lol/private/math/vector.h

+ 67
- 67
include/lol/private/math/vector.h Visa fil

@@ -267,36 +267,36 @@ struct [[nodiscard]] vec_t<T,2>
struct { T s, t; };

#if !_DOXYGEN_SKIP_ME
vec_t<T, 2, 9000> const xx, rr, ss/**/, ww;
vec_t<T, 2, 9001> const xy, rg, st, rt, wh;
vec_t<T, 2, 9010> const yx, gr, ts, tr, hw;
vec_t<T, 2, 9011> const yy, gg, tt/**/, hh;
vec_t<T, 3, 90000> const xxx, rrr, sss /**/, www;
vec_t<T, 3, 90001> const xxy, rrg, sst, rrt, wwh;
vec_t<T, 3, 90010> const xyx, rgr, sts, rtr, whw;
vec_t<T, 3, 90011> const xyy, rgg, stt, rtt, whh;
vec_t<T, 3, 90100> const yxx, grr, tss, trr, hww;
vec_t<T, 3, 90101> const yxy, grg, tst, trt, hwh;
vec_t<T, 3, 90110> const yyx, ggr, tts, ttr, hhw;
vec_t<T, 3, 90111> const yyy, ggg, ttt /**/, hhh;
vec_t<T, 4, 900000> const xxxx, rrrr, ssss /**/, wwww;
vec_t<T, 4, 900001> const xxxy, rrrg, ssst, rrrt, wwwh;
vec_t<T, 4, 900010> const xxyx, rrgr, ssts, rrtr, wwhw;
vec_t<T, 4, 900011> const xxyy, rrgg, sstt, rrtt, wwhh;
vec_t<T, 4, 900100> const xyxx, rgrr, stss, rtrr, whww;
vec_t<T, 4, 900101> const xyxy, rgrg, stst, rtrt, whwh;
vec_t<T, 4, 900110> const xyyx, rggr, stts, rttr, whhw;
vec_t<T, 4, 900111> const xyyy, rggg, sttt, rttt, whhh;
vec_t<T, 4, 901000> const yxxx, grrr, tsss, trrr, hwww;
vec_t<T, 4, 901001> const yxxy, grrg, tsst, trrt, hwwh;
vec_t<T, 4, 901010> const yxyx, grgr, tsts, trtr, hwhw;
vec_t<T, 4, 901011> const yxyy, grgg, tstt, trtt, hwhh;
vec_t<T, 4, 901100> const yyxx, ggrr, ttss, ttrr, hhww;
vec_t<T, 4, 901101> const yyxy, ggrg, ttst, ttrt, hhwh;
vec_t<T, 4, 901110> const yyyx, gggr, ttts, tttr, hhhw;
vec_t<T, 4, 901111> const yyyy, gggg, tttt /**/, hhhh;
vec_t<T, 2, 9000> const xx, rr, ss;
vec_t<T, 2, 9001> const xy, rg, st;
vec_t<T, 2, 9010> const yx, gr, ts;
vec_t<T, 2, 9011> const yy, gg, tt;
vec_t<T, 3, 90000> const xxx, rrr, sss;
vec_t<T, 3, 90001> const xxy, rrg, sst;
vec_t<T, 3, 90010> const xyx, rgr, sts;
vec_t<T, 3, 90011> const xyy, rgg, stt;
vec_t<T, 3, 90100> const yxx, grr, tss;
vec_t<T, 3, 90101> const yxy, grg, tst;
vec_t<T, 3, 90110> const yyx, ggr, tts;
vec_t<T, 3, 90111> const yyy, ggg, ttt;
vec_t<T, 4, 900000> const xxxx, rrrr, ssss;
vec_t<T, 4, 900001> const xxxy, rrrg, ssst;
vec_t<T, 4, 900010> const xxyx, rrgr, ssts;
vec_t<T, 4, 900011> const xxyy, rrgg, sstt;
vec_t<T, 4, 900100> const xyxx, rgrr, stss;
vec_t<T, 4, 900101> const xyxy, rgrg, stst;
vec_t<T, 4, 900110> const xyyx, rggr, stts;
vec_t<T, 4, 900111> const xyyy, rggg, sttt;
vec_t<T, 4, 901000> const yxxx, grrr, tsss;
vec_t<T, 4, 901001> const yxxy, grrg, tsst;
vec_t<T, 4, 901010> const yxyx, grgr, tsts;
vec_t<T, 4, 901011> const yxyy, grgg, tstt;
vec_t<T, 4, 901100> const yyxx, ggrr, ttss;
vec_t<T, 4, 901101> const yyxy, ggrg, ttst;
vec_t<T, 4, 901110> const yyyx, gggr, ttts;
vec_t<T, 4, 901111> const yyyy, gggg, tttt;
#endif

T m_data[count];
@@ -412,43 +412,43 @@ struct [[nodiscard]] vec_t<T,3>
struct { T s, t, p; };

#if !_DOXYGEN_SKIP_ME
vec_t<T, 2, 9000> const xx, rr, ss/**/, ww;
vec_t<T, 2, 9001> const xy, rg, st, rt, wh;
vec_t<T, 2, 9002> const xz, rb, sp, rp, wd;
vec_t<T, 2, 9010> const yx, gr, ts, tr, hw;
vec_t<T, 2, 9011> const yy, gg, tt/**/, hh;
vec_t<T, 2, 9012> const yz, gb, tp/**/, hd;
vec_t<T, 2, 9020> const zx, br, ps, pr, dw;
vec_t<T, 2, 9021> const zy, bg, pt/**/, dh;
vec_t<T, 2, 9022> const zz, bb, pp/**/, dd;
vec_t<T, 3, 90000> const xxx, rrr, sss /**/, www;
vec_t<T, 3, 90001> const xxy, rrg, sst, rrt, wwh;
vec_t<T, 3, 90002> const xxz, rrb, ssp, rrp, wwd;
vec_t<T, 3, 90010> const xyx, rgr, sts, rtr, whw;
vec_t<T, 3, 90011> const xyy, rgg, stt, rtt, whh;
vec_t<T, 3, 90012> const xyz, rgb, stp, rtp, whd;
vec_t<T, 3, 90020> const xzx, rbr, sps, rpr, wdw;
vec_t<T, 3, 90021> const xzy, rbg, spt, rpt, wdh;
vec_t<T, 3, 90022> const xzz, rbb, spp, rpp, wdd;
vec_t<T, 3, 90100> const yxx, grr, tss, trr, hww;
vec_t<T, 3, 90101> const yxy, grg, tst, trt, hwh;
vec_t<T, 3, 90102> const yxz, grb, tsp, trp, hwd;
vec_t<T, 3, 90110> const yyx, ggr, tts, ttr, hhw;
vec_t<T, 3, 90111> const yyy, ggg, ttt /**/, hhh;
vec_t<T, 3, 90112> const yyz, ggb, ttp /**/, hhd;
vec_t<T, 3, 90120> const yzx, gbr, tps, tpr, hdw;
vec_t<T, 3, 90121> const yzy, gbg, tpt /**/, hdh;
vec_t<T, 3, 90122> const yzz, gbb, tpp /**/, hdd;
vec_t<T, 3, 90200> const zxx, brr, pss, prr, dww;
vec_t<T, 3, 90201> const zxy, brg, pst, prt, dwh;
vec_t<T, 3, 90202> const zxz, brb, psp, prp, dwd;
vec_t<T, 3, 90210> const zyx, bgr, pts, ptr, dhw;
vec_t<T, 3, 90211> const zyy, bgg, ptt /**/, dhh;
vec_t<T, 3, 90212> const zyz, bgb, ptp /**/, dhd;
vec_t<T, 3, 90220> const zzx, bbr, pps, ppr, ddw;
vec_t<T, 3, 90221> const zzy, bbg, ppt /**/, ddh;
vec_t<T, 3, 90222> const zzz, bbb, ppp /**/, ddd;
vec_t<T, 2, 9000> const xx, rr, ss;
vec_t<T, 2, 9001> const xy, rg, st;
vec_t<T, 2, 9002> const xz, rb, sp;
vec_t<T, 2, 9010> const yx, gr, ts;
vec_t<T, 2, 9011> const yy, gg, tt;
vec_t<T, 2, 9012> const yz, gb, tp;
vec_t<T, 2, 9020> const zx, br, ps;
vec_t<T, 2, 9021> const zy, bg, pt;
vec_t<T, 2, 9022> const zz, bb, pp;
vec_t<T, 3, 90000> const xxx, rrr, sss;
vec_t<T, 3, 90001> const xxy, rrg, sst;
vec_t<T, 3, 90002> const xxz, rrb, ssp;
vec_t<T, 3, 90010> const xyx, rgr, sts;
vec_t<T, 3, 90011> const xyy, rgg, stt;
vec_t<T, 3, 90012> const xyz, rgb, stp;
vec_t<T, 3, 90020> const xzx, rbr, sps;
vec_t<T, 3, 90021> const xzy, rbg, spt;
vec_t<T, 3, 90022> const xzz, rbb, spp;
vec_t<T, 3, 90100> const yxx, grr, tss;
vec_t<T, 3, 90101> const yxy, grg, tst;
vec_t<T, 3, 90102> const yxz, grb, tsp;
vec_t<T, 3, 90110> const yyx, ggr, tts;
vec_t<T, 3, 90111> const yyy, ggg, ttt;
vec_t<T, 3, 90112> const yyz, ggb, ttp;
vec_t<T, 3, 90120> const yzx, gbr, tps;
vec_t<T, 3, 90121> const yzy, gbg, tpt;
vec_t<T, 3, 90122> const yzz, gbb, tpp;
vec_t<T, 3, 90200> const zxx, brr, pss;
vec_t<T, 3, 90201> const zxy, brg, pst;
vec_t<T, 3, 90202> const zxz, brb, psp;
vec_t<T, 3, 90210> const zyx, bgr, pts;
vec_t<T, 3, 90211> const zyy, bgg, ptt;
vec_t<T, 3, 90212> const zyz, bgb, ptp;
vec_t<T, 3, 90220> const zzx, bbr, pps;
vec_t<T, 3, 90221> const zzy, bbg, ppt;
vec_t<T, 3, 90222> const zzz, bbb, ppp;

vec_t<T,4,900000> const xxxx, rrrr, ssss;
vec_t<T,4,900001> const xxxy, rrrg, ssst;


Laddar…
Avbryt
Spara