-
Notifications
You must be signed in to change notification settings - Fork 0
/
glsl++-swizzle.h
1008 lines (1008 loc) · 31.4 KB
/
glsl++-swizzle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#define xxxx to_rvec(0, 0, 0, 0)
#define xxxy to_rvec(0, 0, 0, 1)
#define xxxz to_rvec(0, 0, 0, 2)
#define xxxw to_rvec(0, 0, 0, 3)
#define xxx to_rvec(0, 0, 0)
#define xxyx to_rvec(0, 0, 1, 0)
#define xxyy to_rvec(0, 0, 1, 1)
#define xxyz to_rvec(0, 0, 1, 2)
#define xxyw to_rvec(0, 0, 1, 3)
#define xxy to_rvec(0, 0, 1)
#define xxzx to_rvec(0, 0, 2, 0)
#define xxzy to_rvec(0, 0, 2, 1)
#define xxzz to_rvec(0, 0, 2, 2)
#define xxzw to_rvec(0, 0, 2, 3)
#define xxz to_rvec(0, 0, 2)
#define xxwx to_rvec(0, 0, 3, 0)
#define xxwy to_rvec(0, 0, 3, 1)
#define xxwz to_rvec(0, 0, 3, 2)
#define xxww to_rvec(0, 0, 3, 3)
#define xxw to_rvec(0, 0, 3)
#define xx to_rvec(0, 0)
#define xyxx to_rvec(0, 1, 0, 0)
#define xyxy to_rvec(0, 1, 0, 1)
#define xyxz to_rvec(0, 1, 0, 2)
#define xyxw to_rvec(0, 1, 0, 3)
#define xyx to_rvec(0, 1, 0)
#define xyyx to_rvec(0, 1, 1, 0)
#define xyyy to_rvec(0, 1, 1, 1)
#define xyyz to_rvec(0, 1, 1, 2)
#define xyyw to_rvec(0, 1, 1, 3)
#define xyy to_rvec(0, 1, 1)
#define xyzx to_rvec(0, 1, 2, 0)
#define xyzy to_rvec(0, 1, 2, 1)
#define xyzz to_rvec(0, 1, 2, 2)
#define xyzw to_rvec(0, 1, 2, 3)
#define xyz to_rvec(0, 1, 2)
#define xywx to_rvec(0, 1, 3, 0)
#define xywy to_rvec(0, 1, 3, 1)
#define xywz to_rvec(0, 1, 3, 2)
#define xyww to_rvec(0, 1, 3, 3)
#define xyw to_rvec(0, 1, 3)
#define xy to_rvec(0, 1)
#define xzxx to_rvec(0, 2, 0, 0)
#define xzxy to_rvec(0, 2, 0, 1)
#define xzxz to_rvec(0, 2, 0, 2)
#define xzxw to_rvec(0, 2, 0, 3)
#define xzx to_rvec(0, 2, 0)
#define xzyx to_rvec(0, 2, 1, 0)
#define xzyy to_rvec(0, 2, 1, 1)
#define xzyz to_rvec(0, 2, 1, 2)
#define xzyw to_rvec(0, 2, 1, 3)
#define xzy to_rvec(0, 2, 1)
#define xzzx to_rvec(0, 2, 2, 0)
#define xzzy to_rvec(0, 2, 2, 1)
#define xzzz to_rvec(0, 2, 2, 2)
#define xzzw to_rvec(0, 2, 2, 3)
#define xzz to_rvec(0, 2, 2)
#define xzwx to_rvec(0, 2, 3, 0)
#define xzwy to_rvec(0, 2, 3, 1)
#define xzwz to_rvec(0, 2, 3, 2)
#define xzww to_rvec(0, 2, 3, 3)
#define xzw to_rvec(0, 2, 3)
#define xz to_rvec(0, 2)
#define xwxx to_rvec(0, 3, 0, 0)
#define xwxy to_rvec(0, 3, 0, 1)
#define xwxz to_rvec(0, 3, 0, 2)
#define xwxw to_rvec(0, 3, 0, 3)
#define xwx to_rvec(0, 3, 0)
#define xwyx to_rvec(0, 3, 1, 0)
#define xwyy to_rvec(0, 3, 1, 1)
#define xwyz to_rvec(0, 3, 1, 2)
#define xwyw to_rvec(0, 3, 1, 3)
#define xwy to_rvec(0, 3, 1)
#define xwzx to_rvec(0, 3, 2, 0)
#define xwzy to_rvec(0, 3, 2, 1)
#define xwzz to_rvec(0, 3, 2, 2)
#define xwzw to_rvec(0, 3, 2, 3)
#define xwz to_rvec(0, 3, 2)
#define xwwx to_rvec(0, 3, 3, 0)
#define xwwy to_rvec(0, 3, 3, 1)
#define xwwz to_rvec(0, 3, 3, 2)
#define xwww to_rvec(0, 3, 3, 3)
#define xww to_rvec(0, 3, 3)
#define xw to_rvec(0, 3)
#define yxxx to_rvec(1, 0, 0, 0)
#define yxxy to_rvec(1, 0, 0, 1)
#define yxxz to_rvec(1, 0, 0, 2)
#define yxxw to_rvec(1, 0, 0, 3)
#define yxx to_rvec(1, 0, 0)
#define yxyx to_rvec(1, 0, 1, 0)
#define yxyy to_rvec(1, 0, 1, 1)
#define yxyz to_rvec(1, 0, 1, 2)
#define yxyw to_rvec(1, 0, 1, 3)
#define yxy to_rvec(1, 0, 1)
#define yxzx to_rvec(1, 0, 2, 0)
#define yxzy to_rvec(1, 0, 2, 1)
#define yxzz to_rvec(1, 0, 2, 2)
#define yxzw to_rvec(1, 0, 2, 3)
#define yxz to_rvec(1, 0, 2)
#define yxwx to_rvec(1, 0, 3, 0)
#define yxwy to_rvec(1, 0, 3, 1)
#define yxwz to_rvec(1, 0, 3, 2)
#define yxww to_rvec(1, 0, 3, 3)
#define yxw to_rvec(1, 0, 3)
#define yx to_rvec(1, 0)
#define yyxx to_rvec(1, 1, 0, 0)
#define yyxy to_rvec(1, 1, 0, 1)
#define yyxz to_rvec(1, 1, 0, 2)
#define yyxw to_rvec(1, 1, 0, 3)
#define yyx to_rvec(1, 1, 0)
#define yyyx to_rvec(1, 1, 1, 0)
#define yyyy to_rvec(1, 1, 1, 1)
#define yyyz to_rvec(1, 1, 1, 2)
#define yyyw to_rvec(1, 1, 1, 3)
#define yyy to_rvec(1, 1, 1)
#define yyzx to_rvec(1, 1, 2, 0)
#define yyzy to_rvec(1, 1, 2, 1)
#define yyzz to_rvec(1, 1, 2, 2)
#define yyzw to_rvec(1, 1, 2, 3)
#define yyz to_rvec(1, 1, 2)
#define yywx to_rvec(1, 1, 3, 0)
#define yywy to_rvec(1, 1, 3, 1)
#define yywz to_rvec(1, 1, 3, 2)
#define yyww to_rvec(1, 1, 3, 3)
#define yyw to_rvec(1, 1, 3)
#define yy to_rvec(1, 1)
#define yzxx to_rvec(1, 2, 0, 0)
#define yzxy to_rvec(1, 2, 0, 1)
#define yzxz to_rvec(1, 2, 0, 2)
#define yzxw to_rvec(1, 2, 0, 3)
#define yzx to_rvec(1, 2, 0)
#define yzyx to_rvec(1, 2, 1, 0)
#define yzyy to_rvec(1, 2, 1, 1)
#define yzyz to_rvec(1, 2, 1, 2)
#define yzyw to_rvec(1, 2, 1, 3)
#define yzy to_rvec(1, 2, 1)
#define yzzx to_rvec(1, 2, 2, 0)
#define yzzy to_rvec(1, 2, 2, 1)
#define yzzz to_rvec(1, 2, 2, 2)
#define yzzw to_rvec(1, 2, 2, 3)
#define yzz to_rvec(1, 2, 2)
#define yzwx to_rvec(1, 2, 3, 0)
#define yzwy to_rvec(1, 2, 3, 1)
#define yzwz to_rvec(1, 2, 3, 2)
#define yzww to_rvec(1, 2, 3, 3)
#define yzw to_rvec(1, 2, 3)
#define yz to_rvec(1, 2)
#define ywxx to_rvec(1, 3, 0, 0)
#define ywxy to_rvec(1, 3, 0, 1)
#define ywxz to_rvec(1, 3, 0, 2)
#define ywxw to_rvec(1, 3, 0, 3)
#define ywx to_rvec(1, 3, 0)
#define ywyx to_rvec(1, 3, 1, 0)
#define ywyy to_rvec(1, 3, 1, 1)
#define ywyz to_rvec(1, 3, 1, 2)
#define ywyw to_rvec(1, 3, 1, 3)
#define ywy to_rvec(1, 3, 1)
#define ywzx to_rvec(1, 3, 2, 0)
#define ywzy to_rvec(1, 3, 2, 1)
#define ywzz to_rvec(1, 3, 2, 2)
#define ywzw to_rvec(1, 3, 2, 3)
#define ywz to_rvec(1, 3, 2)
#define ywwx to_rvec(1, 3, 3, 0)
#define ywwy to_rvec(1, 3, 3, 1)
#define ywwz to_rvec(1, 3, 3, 2)
#define ywww to_rvec(1, 3, 3, 3)
#define yww to_rvec(1, 3, 3)
#define yw to_rvec(1, 3)
#define zxxx to_rvec(2, 0, 0, 0)
#define zxxy to_rvec(2, 0, 0, 1)
#define zxxz to_rvec(2, 0, 0, 2)
#define zxxw to_rvec(2, 0, 0, 3)
#define zxx to_rvec(2, 0, 0)
#define zxyx to_rvec(2, 0, 1, 0)
#define zxyy to_rvec(2, 0, 1, 1)
#define zxyz to_rvec(2, 0, 1, 2)
#define zxyw to_rvec(2, 0, 1, 3)
#define zxy to_rvec(2, 0, 1)
#define zxzx to_rvec(2, 0, 2, 0)
#define zxzy to_rvec(2, 0, 2, 1)
#define zxzz to_rvec(2, 0, 2, 2)
#define zxzw to_rvec(2, 0, 2, 3)
#define zxz to_rvec(2, 0, 2)
#define zxwx to_rvec(2, 0, 3, 0)
#define zxwy to_rvec(2, 0, 3, 1)
#define zxwz to_rvec(2, 0, 3, 2)
#define zxww to_rvec(2, 0, 3, 3)
#define zxw to_rvec(2, 0, 3)
#define zx to_rvec(2, 0)
#define zyxx to_rvec(2, 1, 0, 0)
#define zyxy to_rvec(2, 1, 0, 1)
#define zyxz to_rvec(2, 1, 0, 2)
#define zyxw to_rvec(2, 1, 0, 3)
#define zyx to_rvec(2, 1, 0)
#define zyyx to_rvec(2, 1, 1, 0)
#define zyyy to_rvec(2, 1, 1, 1)
#define zyyz to_rvec(2, 1, 1, 2)
#define zyyw to_rvec(2, 1, 1, 3)
#define zyy to_rvec(2, 1, 1)
#define zyzx to_rvec(2, 1, 2, 0)
#define zyzy to_rvec(2, 1, 2, 1)
#define zyzz to_rvec(2, 1, 2, 2)
#define zyzw to_rvec(2, 1, 2, 3)
#define zyz to_rvec(2, 1, 2)
#define zywx to_rvec(2, 1, 3, 0)
#define zywy to_rvec(2, 1, 3, 1)
#define zywz to_rvec(2, 1, 3, 2)
#define zyww to_rvec(2, 1, 3, 3)
#define zyw to_rvec(2, 1, 3)
#define zy to_rvec(2, 1)
#define zzxx to_rvec(2, 2, 0, 0)
#define zzxy to_rvec(2, 2, 0, 1)
#define zzxz to_rvec(2, 2, 0, 2)
#define zzxw to_rvec(2, 2, 0, 3)
#define zzx to_rvec(2, 2, 0)
#define zzyx to_rvec(2, 2, 1, 0)
#define zzyy to_rvec(2, 2, 1, 1)
#define zzyz to_rvec(2, 2, 1, 2)
#define zzyw to_rvec(2, 2, 1, 3)
#define zzy to_rvec(2, 2, 1)
#define zzzx to_rvec(2, 2, 2, 0)
#define zzzy to_rvec(2, 2, 2, 1)
#define zzzz to_rvec(2, 2, 2, 2)
#define zzzw to_rvec(2, 2, 2, 3)
#define zzz to_rvec(2, 2, 2)
#define zzwx to_rvec(2, 2, 3, 0)
#define zzwy to_rvec(2, 2, 3, 1)
#define zzwz to_rvec(2, 2, 3, 2)
#define zzww to_rvec(2, 2, 3, 3)
#define zzw to_rvec(2, 2, 3)
#define zz to_rvec(2, 2)
#define zwxx to_rvec(2, 3, 0, 0)
#define zwxy to_rvec(2, 3, 0, 1)
#define zwxz to_rvec(2, 3, 0, 2)
#define zwxw to_rvec(2, 3, 0, 3)
#define zwx to_rvec(2, 3, 0)
#define zwyx to_rvec(2, 3, 1, 0)
#define zwyy to_rvec(2, 3, 1, 1)
#define zwyz to_rvec(2, 3, 1, 2)
#define zwyw to_rvec(2, 3, 1, 3)
#define zwy to_rvec(2, 3, 1)
#define zwzx to_rvec(2, 3, 2, 0)
#define zwzy to_rvec(2, 3, 2, 1)
#define zwzz to_rvec(2, 3, 2, 2)
#define zwzw to_rvec(2, 3, 2, 3)
#define zwz to_rvec(2, 3, 2)
#define zwwx to_rvec(2, 3, 3, 0)
#define zwwy to_rvec(2, 3, 3, 1)
#define zwwz to_rvec(2, 3, 3, 2)
#define zwww to_rvec(2, 3, 3, 3)
#define zww to_rvec(2, 3, 3)
#define zw to_rvec(2, 3)
#define wxxx to_rvec(3, 0, 0, 0)
#define wxxy to_rvec(3, 0, 0, 1)
#define wxxz to_rvec(3, 0, 0, 2)
#define wxxw to_rvec(3, 0, 0, 3)
#define wxx to_rvec(3, 0, 0)
#define wxyx to_rvec(3, 0, 1, 0)
#define wxyy to_rvec(3, 0, 1, 1)
#define wxyz to_rvec(3, 0, 1, 2)
#define wxyw to_rvec(3, 0, 1, 3)
#define wxy to_rvec(3, 0, 1)
#define wxzx to_rvec(3, 0, 2, 0)
#define wxzy to_rvec(3, 0, 2, 1)
#define wxzz to_rvec(3, 0, 2, 2)
#define wxzw to_rvec(3, 0, 2, 3)
#define wxz to_rvec(3, 0, 2)
#define wxwx to_rvec(3, 0, 3, 0)
#define wxwy to_rvec(3, 0, 3, 1)
#define wxwz to_rvec(3, 0, 3, 2)
#define wxww to_rvec(3, 0, 3, 3)
#define wxw to_rvec(3, 0, 3)
#define wx to_rvec(3, 0)
#define wyxx to_rvec(3, 1, 0, 0)
#define wyxy to_rvec(3, 1, 0, 1)
#define wyxz to_rvec(3, 1, 0, 2)
#define wyxw to_rvec(3, 1, 0, 3)
#define wyx to_rvec(3, 1, 0)
#define wyyx to_rvec(3, 1, 1, 0)
#define wyyy to_rvec(3, 1, 1, 1)
#define wyyz to_rvec(3, 1, 1, 2)
#define wyyw to_rvec(3, 1, 1, 3)
#define wyy to_rvec(3, 1, 1)
#define wyzx to_rvec(3, 1, 2, 0)
#define wyzy to_rvec(3, 1, 2, 1)
#define wyzz to_rvec(3, 1, 2, 2)
#define wyzw to_rvec(3, 1, 2, 3)
#define wyz to_rvec(3, 1, 2)
#define wywx to_rvec(3, 1, 3, 0)
#define wywy to_rvec(3, 1, 3, 1)
#define wywz to_rvec(3, 1, 3, 2)
#define wyww to_rvec(3, 1, 3, 3)
#define wyw to_rvec(3, 1, 3)
#define wy to_rvec(3, 1)
#define wzxx to_rvec(3, 2, 0, 0)
#define wzxy to_rvec(3, 2, 0, 1)
#define wzxz to_rvec(3, 2, 0, 2)
#define wzxw to_rvec(3, 2, 0, 3)
#define wzx to_rvec(3, 2, 0)
#define wzyx to_rvec(3, 2, 1, 0)
#define wzyy to_rvec(3, 2, 1, 1)
#define wzyz to_rvec(3, 2, 1, 2)
#define wzyw to_rvec(3, 2, 1, 3)
#define wzy to_rvec(3, 2, 1)
#define wzzx to_rvec(3, 2, 2, 0)
#define wzzy to_rvec(3, 2, 2, 1)
#define wzzz to_rvec(3, 2, 2, 2)
#define wzzw to_rvec(3, 2, 2, 3)
#define wzz to_rvec(3, 2, 2)
#define wzwx to_rvec(3, 2, 3, 0)
#define wzwy to_rvec(3, 2, 3, 1)
#define wzwz to_rvec(3, 2, 3, 2)
#define wzww to_rvec(3, 2, 3, 3)
#define wzw to_rvec(3, 2, 3)
#define wz to_rvec(3, 2)
#define wwxx to_rvec(3, 3, 0, 0)
#define wwxy to_rvec(3, 3, 0, 1)
#define wwxz to_rvec(3, 3, 0, 2)
#define wwxw to_rvec(3, 3, 0, 3)
#define wwx to_rvec(3, 3, 0)
#define wwyx to_rvec(3, 3, 1, 0)
#define wwyy to_rvec(3, 3, 1, 1)
#define wwyz to_rvec(3, 3, 1, 2)
#define wwyw to_rvec(3, 3, 1, 3)
#define wwy to_rvec(3, 3, 1)
#define wwzx to_rvec(3, 3, 2, 0)
#define wwzy to_rvec(3, 3, 2, 1)
#define wwzz to_rvec(3, 3, 2, 2)
#define wwzw to_rvec(3, 3, 2, 3)
#define wwz to_rvec(3, 3, 2)
#define wwwx to_rvec(3, 3, 3, 0)
#define wwwy to_rvec(3, 3, 3, 1)
#define wwwz to_rvec(3, 3, 3, 2)
#define wwww to_rvec(3, 3, 3, 3)
#define www to_rvec(3, 3, 3)
#define ww to_rvec(3, 3)
#define rrrr to_rvec(0, 0, 0, 0)
#define rrrg to_rvec(0, 0, 0, 1)
#define rrrb to_rvec(0, 0, 0, 2)
#define rrra to_rvec(0, 0, 0, 3)
#define rrr to_rvec(0, 0, 0)
#define rrgr to_rvec(0, 0, 1, 0)
#define rrgg to_rvec(0, 0, 1, 1)
#define rrgb to_rvec(0, 0, 1, 2)
#define rrga to_rvec(0, 0, 1, 3)
#define rrg to_rvec(0, 0, 1)
#define rrbr to_rvec(0, 0, 2, 0)
#define rrbg to_rvec(0, 0, 2, 1)
#define rrbb to_rvec(0, 0, 2, 2)
#define rrba to_rvec(0, 0, 2, 3)
#define rrb to_rvec(0, 0, 2)
#define rrar to_rvec(0, 0, 3, 0)
#define rrag to_rvec(0, 0, 3, 1)
#define rrab to_rvec(0, 0, 3, 2)
#define rraa to_rvec(0, 0, 3, 3)
#define rra to_rvec(0, 0, 3)
#define rr to_rvec(0, 0)
#define rgrr to_rvec(0, 1, 0, 0)
#define rgrg to_rvec(0, 1, 0, 1)
#define rgrb to_rvec(0, 1, 0, 2)
#define rgra to_rvec(0, 1, 0, 3)
#define rgr to_rvec(0, 1, 0)
#define rggr to_rvec(0, 1, 1, 0)
#define rggg to_rvec(0, 1, 1, 1)
#define rggb to_rvec(0, 1, 1, 2)
#define rgga to_rvec(0, 1, 1, 3)
#define rgg to_rvec(0, 1, 1)
#define rgbr to_rvec(0, 1, 2, 0)
#define rgbg to_rvec(0, 1, 2, 1)
#define rgbb to_rvec(0, 1, 2, 2)
#define rgba to_rvec(0, 1, 2, 3)
#define rgb to_rvec(0, 1, 2)
#define rgar to_rvec(0, 1, 3, 0)
#define rgag to_rvec(0, 1, 3, 1)
#define rgab to_rvec(0, 1, 3, 2)
#define rgaa to_rvec(0, 1, 3, 3)
#define rga to_rvec(0, 1, 3)
#define rg to_rvec(0, 1)
#define rbrr to_rvec(0, 2, 0, 0)
#define rbrg to_rvec(0, 2, 0, 1)
#define rbrb to_rvec(0, 2, 0, 2)
#define rbra to_rvec(0, 2, 0, 3)
#define rbr to_rvec(0, 2, 0)
#define rbgr to_rvec(0, 2, 1, 0)
#define rbgg to_rvec(0, 2, 1, 1)
#define rbgb to_rvec(0, 2, 1, 2)
#define rbga to_rvec(0, 2, 1, 3)
#define rbg to_rvec(0, 2, 1)
#define rbbr to_rvec(0, 2, 2, 0)
#define rbbg to_rvec(0, 2, 2, 1)
#define rbbb to_rvec(0, 2, 2, 2)
#define rbba to_rvec(0, 2, 2, 3)
#define rbb to_rvec(0, 2, 2)
#define rbar to_rvec(0, 2, 3, 0)
#define rbag to_rvec(0, 2, 3, 1)
#define rbab to_rvec(0, 2, 3, 2)
#define rbaa to_rvec(0, 2, 3, 3)
#define rba to_rvec(0, 2, 3)
#define rb to_rvec(0, 2)
#define rarr to_rvec(0, 3, 0, 0)
#define rarg to_rvec(0, 3, 0, 1)
#define rarb to_rvec(0, 3, 0, 2)
#define rara to_rvec(0, 3, 0, 3)
#define rar to_rvec(0, 3, 0)
#define ragr to_rvec(0, 3, 1, 0)
#define ragg to_rvec(0, 3, 1, 1)
#define ragb to_rvec(0, 3, 1, 2)
#define raga to_rvec(0, 3, 1, 3)
#define rag to_rvec(0, 3, 1)
#define rabr to_rvec(0, 3, 2, 0)
#define rabg to_rvec(0, 3, 2, 1)
#define rabb to_rvec(0, 3, 2, 2)
#define raba to_rvec(0, 3, 2, 3)
#define rab to_rvec(0, 3, 2)
#define raar to_rvec(0, 3, 3, 0)
#define raag to_rvec(0, 3, 3, 1)
#define raab to_rvec(0, 3, 3, 2)
#define raaa to_rvec(0, 3, 3, 3)
#define raa to_rvec(0, 3, 3)
#define ra to_rvec(0, 3)
#define grrr to_rvec(1, 0, 0, 0)
#define grrg to_rvec(1, 0, 0, 1)
#define grrb to_rvec(1, 0, 0, 2)
#define grra to_rvec(1, 0, 0, 3)
#define grr to_rvec(1, 0, 0)
#define grgr to_rvec(1, 0, 1, 0)
#define grgg to_rvec(1, 0, 1, 1)
#define grgb to_rvec(1, 0, 1, 2)
#define grga to_rvec(1, 0, 1, 3)
#define grg to_rvec(1, 0, 1)
#define grbr to_rvec(1, 0, 2, 0)
#define grbg to_rvec(1, 0, 2, 1)
#define grbb to_rvec(1, 0, 2, 2)
#define grba to_rvec(1, 0, 2, 3)
#define grb to_rvec(1, 0, 2)
#define grar to_rvec(1, 0, 3, 0)
#define grag to_rvec(1, 0, 3, 1)
#define grab to_rvec(1, 0, 3, 2)
#define graa to_rvec(1, 0, 3, 3)
#define gra to_rvec(1, 0, 3)
#define gr to_rvec(1, 0)
#define ggrr to_rvec(1, 1, 0, 0)
#define ggrg to_rvec(1, 1, 0, 1)
#define ggrb to_rvec(1, 1, 0, 2)
#define ggra to_rvec(1, 1, 0, 3)
#define ggr to_rvec(1, 1, 0)
#define gggr to_rvec(1, 1, 1, 0)
#define gggg to_rvec(1, 1, 1, 1)
#define gggb to_rvec(1, 1, 1, 2)
#define ggga to_rvec(1, 1, 1, 3)
#define ggg to_rvec(1, 1, 1)
#define ggbr to_rvec(1, 1, 2, 0)
#define ggbg to_rvec(1, 1, 2, 1)
#define ggbb to_rvec(1, 1, 2, 2)
#define ggba to_rvec(1, 1, 2, 3)
#define ggb to_rvec(1, 1, 2)
#define ggar to_rvec(1, 1, 3, 0)
#define ggag to_rvec(1, 1, 3, 1)
#define ggab to_rvec(1, 1, 3, 2)
#define ggaa to_rvec(1, 1, 3, 3)
#define gga to_rvec(1, 1, 3)
#define gg to_rvec(1, 1)
#define gbrr to_rvec(1, 2, 0, 0)
#define gbrg to_rvec(1, 2, 0, 1)
#define gbrb to_rvec(1, 2, 0, 2)
#define gbra to_rvec(1, 2, 0, 3)
#define gbr to_rvec(1, 2, 0)
#define gbgr to_rvec(1, 2, 1, 0)
#define gbgg to_rvec(1, 2, 1, 1)
#define gbgb to_rvec(1, 2, 1, 2)
#define gbga to_rvec(1, 2, 1, 3)
#define gbg to_rvec(1, 2, 1)
#define gbbr to_rvec(1, 2, 2, 0)
#define gbbg to_rvec(1, 2, 2, 1)
#define gbbb to_rvec(1, 2, 2, 2)
#define gbba to_rvec(1, 2, 2, 3)
#define gbb to_rvec(1, 2, 2)
#define gbar to_rvec(1, 2, 3, 0)
#define gbag to_rvec(1, 2, 3, 1)
#define gbab to_rvec(1, 2, 3, 2)
#define gbaa to_rvec(1, 2, 3, 3)
#define gba to_rvec(1, 2, 3)
#define gb to_rvec(1, 2)
#define garr to_rvec(1, 3, 0, 0)
#define garg to_rvec(1, 3, 0, 1)
#define garb to_rvec(1, 3, 0, 2)
#define gara to_rvec(1, 3, 0, 3)
#define gar to_rvec(1, 3, 0)
#define gagr to_rvec(1, 3, 1, 0)
#define gagg to_rvec(1, 3, 1, 1)
#define gagb to_rvec(1, 3, 1, 2)
#define gaga to_rvec(1, 3, 1, 3)
#define gag to_rvec(1, 3, 1)
#define gabr to_rvec(1, 3, 2, 0)
#define gabg to_rvec(1, 3, 2, 1)
#define gabb to_rvec(1, 3, 2, 2)
#define gaba to_rvec(1, 3, 2, 3)
#define gab to_rvec(1, 3, 2)
#define gaar to_rvec(1, 3, 3, 0)
#define gaag to_rvec(1, 3, 3, 1)
#define gaab to_rvec(1, 3, 3, 2)
#define gaaa to_rvec(1, 3, 3, 3)
#define gaa to_rvec(1, 3, 3)
#define ga to_rvec(1, 3)
#define brrr to_rvec(2, 0, 0, 0)
#define brrg to_rvec(2, 0, 0, 1)
#define brrb to_rvec(2, 0, 0, 2)
#define brra to_rvec(2, 0, 0, 3)
#define brr to_rvec(2, 0, 0)
#define brgr to_rvec(2, 0, 1, 0)
#define brgg to_rvec(2, 0, 1, 1)
#define brgb to_rvec(2, 0, 1, 2)
#define brga to_rvec(2, 0, 1, 3)
#define brg to_rvec(2, 0, 1)
#define brbr to_rvec(2, 0, 2, 0)
#define brbg to_rvec(2, 0, 2, 1)
#define brbb to_rvec(2, 0, 2, 2)
#define brba to_rvec(2, 0, 2, 3)
#define brb to_rvec(2, 0, 2)
#define brar to_rvec(2, 0, 3, 0)
#define brag to_rvec(2, 0, 3, 1)
#define brab to_rvec(2, 0, 3, 2)
#define braa to_rvec(2, 0, 3, 3)
#define bra to_rvec(2, 0, 3)
#define br to_rvec(2, 0)
#define bgrr to_rvec(2, 1, 0, 0)
#define bgrg to_rvec(2, 1, 0, 1)
#define bgrb to_rvec(2, 1, 0, 2)
#define bgra to_rvec(2, 1, 0, 3)
#define bgr to_rvec(2, 1, 0)
#define bggr to_rvec(2, 1, 1, 0)
#define bggg to_rvec(2, 1, 1, 1)
#define bggb to_rvec(2, 1, 1, 2)
#define bgga to_rvec(2, 1, 1, 3)
#define bgg to_rvec(2, 1, 1)
#define bgbr to_rvec(2, 1, 2, 0)
#define bgbg to_rvec(2, 1, 2, 1)
#define bgbb to_rvec(2, 1, 2, 2)
#define bgba to_rvec(2, 1, 2, 3)
#define bgb to_rvec(2, 1, 2)
#define bgar to_rvec(2, 1, 3, 0)
#define bgag to_rvec(2, 1, 3, 1)
#define bgab to_rvec(2, 1, 3, 2)
#define bgaa to_rvec(2, 1, 3, 3)
#define bga to_rvec(2, 1, 3)
#define bg to_rvec(2, 1)
#define bbrr to_rvec(2, 2, 0, 0)
#define bbrg to_rvec(2, 2, 0, 1)
#define bbrb to_rvec(2, 2, 0, 2)
#define bbra to_rvec(2, 2, 0, 3)
#define bbr to_rvec(2, 2, 0)
#define bbgr to_rvec(2, 2, 1, 0)
#define bbgg to_rvec(2, 2, 1, 1)
#define bbgb to_rvec(2, 2, 1, 2)
#define bbga to_rvec(2, 2, 1, 3)
#define bbg to_rvec(2, 2, 1)
#define bbbr to_rvec(2, 2, 2, 0)
#define bbbg to_rvec(2, 2, 2, 1)
#define bbbb to_rvec(2, 2, 2, 2)
#define bbba to_rvec(2, 2, 2, 3)
#define bbb to_rvec(2, 2, 2)
#define bbar to_rvec(2, 2, 3, 0)
#define bbag to_rvec(2, 2, 3, 1)
#define bbab to_rvec(2, 2, 3, 2)
#define bbaa to_rvec(2, 2, 3, 3)
#define bba to_rvec(2, 2, 3)
#define bb to_rvec(2, 2)
#define barr to_rvec(2, 3, 0, 0)
#define barg to_rvec(2, 3, 0, 1)
#define barb to_rvec(2, 3, 0, 2)
#define bara to_rvec(2, 3, 0, 3)
#define bar to_rvec(2, 3, 0)
#define bagr to_rvec(2, 3, 1, 0)
#define bagg to_rvec(2, 3, 1, 1)
#define bagb to_rvec(2, 3, 1, 2)
#define baga to_rvec(2, 3, 1, 3)
#define bag to_rvec(2, 3, 1)
#define babr to_rvec(2, 3, 2, 0)
#define babg to_rvec(2, 3, 2, 1)
#define babb to_rvec(2, 3, 2, 2)
#define baba to_rvec(2, 3, 2, 3)
#define bab to_rvec(2, 3, 2)
#define baar to_rvec(2, 3, 3, 0)
#define baag to_rvec(2, 3, 3, 1)
#define baab to_rvec(2, 3, 3, 2)
#define baaa to_rvec(2, 3, 3, 3)
#define baa to_rvec(2, 3, 3)
#define ba to_rvec(2, 3)
#define arrr to_rvec(3, 0, 0, 0)
#define arrg to_rvec(3, 0, 0, 1)
#define arrb to_rvec(3, 0, 0, 2)
#define arra to_rvec(3, 0, 0, 3)
#define arr to_rvec(3, 0, 0)
#define argr to_rvec(3, 0, 1, 0)
#define argg to_rvec(3, 0, 1, 1)
#define argb to_rvec(3, 0, 1, 2)
#define arga to_rvec(3, 0, 1, 3)
#define arg to_rvec(3, 0, 1)
#define arbr to_rvec(3, 0, 2, 0)
#define arbg to_rvec(3, 0, 2, 1)
#define arbb to_rvec(3, 0, 2, 2)
#define arba to_rvec(3, 0, 2, 3)
#define arb to_rvec(3, 0, 2)
#define arar to_rvec(3, 0, 3, 0)
#define arag to_rvec(3, 0, 3, 1)
#define arab to_rvec(3, 0, 3, 2)
#define araa to_rvec(3, 0, 3, 3)
#define ara to_rvec(3, 0, 3)
#define ar to_rvec(3, 0)
#define agrr to_rvec(3, 1, 0, 0)
#define agrg to_rvec(3, 1, 0, 1)
#define agrb to_rvec(3, 1, 0, 2)
#define agra to_rvec(3, 1, 0, 3)
#define agr to_rvec(3, 1, 0)
#define aggr to_rvec(3, 1, 1, 0)
#define aggg to_rvec(3, 1, 1, 1)
#define aggb to_rvec(3, 1, 1, 2)
#define agga to_rvec(3, 1, 1, 3)
#define agg to_rvec(3, 1, 1)
#define agbr to_rvec(3, 1, 2, 0)
#define agbg to_rvec(3, 1, 2, 1)
#define agbb to_rvec(3, 1, 2, 2)
#define agba to_rvec(3, 1, 2, 3)
#define agb to_rvec(3, 1, 2)
#define agar to_rvec(3, 1, 3, 0)
#define agag to_rvec(3, 1, 3, 1)
#define agab to_rvec(3, 1, 3, 2)
#define agaa to_rvec(3, 1, 3, 3)
#define aga to_rvec(3, 1, 3)
#define ag to_rvec(3, 1)
#define abrr to_rvec(3, 2, 0, 0)
#define abrg to_rvec(3, 2, 0, 1)
#define abrb to_rvec(3, 2, 0, 2)
#define abra to_rvec(3, 2, 0, 3)
#define abr to_rvec(3, 2, 0)
#define abgr to_rvec(3, 2, 1, 0)
#define abgg to_rvec(3, 2, 1, 1)
#define abgb to_rvec(3, 2, 1, 2)
#define abga to_rvec(3, 2, 1, 3)
#define abg to_rvec(3, 2, 1)
#define abbr to_rvec(3, 2, 2, 0)
#define abbg to_rvec(3, 2, 2, 1)
#define abbb to_rvec(3, 2, 2, 2)
#define abba to_rvec(3, 2, 2, 3)
#define abb to_rvec(3, 2, 2)
#define abar to_rvec(3, 2, 3, 0)
#define abag to_rvec(3, 2, 3, 1)
#define abab to_rvec(3, 2, 3, 2)
#define abaa to_rvec(3, 2, 3, 3)
#define aba to_rvec(3, 2, 3)
#define ab to_rvec(3, 2)
#define aarr to_rvec(3, 3, 0, 0)
#define aarg to_rvec(3, 3, 0, 1)
#define aarb to_rvec(3, 3, 0, 2)
#define aara to_rvec(3, 3, 0, 3)
#define aar to_rvec(3, 3, 0)
#define aagr to_rvec(3, 3, 1, 0)
#define aagg to_rvec(3, 3, 1, 1)
#define aagb to_rvec(3, 3, 1, 2)
#define aaga to_rvec(3, 3, 1, 3)
#define aag to_rvec(3, 3, 1)
#define aabr to_rvec(3, 3, 2, 0)
#define aabg to_rvec(3, 3, 2, 1)
#define aabb to_rvec(3, 3, 2, 2)
#define aaba to_rvec(3, 3, 2, 3)
#define aab to_rvec(3, 3, 2)
#define aaar to_rvec(3, 3, 3, 0)
#define aaag to_rvec(3, 3, 3, 1)
#define aaab to_rvec(3, 3, 3, 2)
#define aaaa to_rvec(3, 3, 3, 3)
#define aaa to_rvec(3, 3, 3)
#define aa to_rvec(3, 3)
#define ssss to_rvec(0, 0, 0, 0)
#define ssst to_rvec(0, 0, 0, 1)
#define sssp to_rvec(0, 0, 0, 2)
#define sssq to_rvec(0, 0, 0, 3)
#define sss to_rvec(0, 0, 0)
#define ssts to_rvec(0, 0, 1, 0)
#define sstt to_rvec(0, 0, 1, 1)
#define sstp to_rvec(0, 0, 1, 2)
#define sstq to_rvec(0, 0, 1, 3)
#define sst to_rvec(0, 0, 1)
#define ssps to_rvec(0, 0, 2, 0)
#define sspt to_rvec(0, 0, 2, 1)
#define sspp to_rvec(0, 0, 2, 2)
#define sspq to_rvec(0, 0, 2, 3)
#define ssp to_rvec(0, 0, 2)
#define ssqs to_rvec(0, 0, 3, 0)
#define ssqt to_rvec(0, 0, 3, 1)
#define ssqp to_rvec(0, 0, 3, 2)
#define ssqq to_rvec(0, 0, 3, 3)
#define ssq to_rvec(0, 0, 3)
#define ss to_rvec(0, 0)
#define stss to_rvec(0, 1, 0, 0)
#define stst to_rvec(0, 1, 0, 1)
#define stsp to_rvec(0, 1, 0, 2)
#define stsq to_rvec(0, 1, 0, 3)
#define sts to_rvec(0, 1, 0)
#define stts to_rvec(0, 1, 1, 0)
#define sttt to_rvec(0, 1, 1, 1)
#define sttp to_rvec(0, 1, 1, 2)
#define sttq to_rvec(0, 1, 1, 3)
#define stt to_rvec(0, 1, 1)
#define stps to_rvec(0, 1, 2, 0)
#define stpt to_rvec(0, 1, 2, 1)
#define stpp to_rvec(0, 1, 2, 2)
#define stpq to_rvec(0, 1, 2, 3)
#define stp to_rvec(0, 1, 2)
#define stqs to_rvec(0, 1, 3, 0)
#define stqt to_rvec(0, 1, 3, 1)
#define stqp to_rvec(0, 1, 3, 2)
#define stqq to_rvec(0, 1, 3, 3)
#define stq to_rvec(0, 1, 3)
#define st to_rvec(0, 1)
#define spss to_rvec(0, 2, 0, 0)
#define spst to_rvec(0, 2, 0, 1)
#define spsp to_rvec(0, 2, 0, 2)
#define spsq to_rvec(0, 2, 0, 3)
#define sps to_rvec(0, 2, 0)
#define spts to_rvec(0, 2, 1, 0)
#define sptt to_rvec(0, 2, 1, 1)
#define sptp to_rvec(0, 2, 1, 2)
#define sptq to_rvec(0, 2, 1, 3)
#define spt to_rvec(0, 2, 1)
#define spps to_rvec(0, 2, 2, 0)
#define sppt to_rvec(0, 2, 2, 1)
#define sppp to_rvec(0, 2, 2, 2)
#define sppq to_rvec(0, 2, 2, 3)
#define spp to_rvec(0, 2, 2)
#define spqs to_rvec(0, 2, 3, 0)
#define spqt to_rvec(0, 2, 3, 1)
#define spqp to_rvec(0, 2, 3, 2)
#define spqq to_rvec(0, 2, 3, 3)
#define spq to_rvec(0, 2, 3)
#define sp to_rvec(0, 2)
#define sqss to_rvec(0, 3, 0, 0)
#define sqst to_rvec(0, 3, 0, 1)
#define sqsp to_rvec(0, 3, 0, 2)
#define sqsq to_rvec(0, 3, 0, 3)
#define sqs to_rvec(0, 3, 0)
#define sqts to_rvec(0, 3, 1, 0)
#define sqtt to_rvec(0, 3, 1, 1)
#define sqtp to_rvec(0, 3, 1, 2)
#define sqtq to_rvec(0, 3, 1, 3)
#define sqt to_rvec(0, 3, 1)
#define sqps to_rvec(0, 3, 2, 0)
#define sqpt to_rvec(0, 3, 2, 1)
#define sqpp to_rvec(0, 3, 2, 2)
#define sqpq to_rvec(0, 3, 2, 3)
#define sqp to_rvec(0, 3, 2)
#define sqqs to_rvec(0, 3, 3, 0)
#define sqqt to_rvec(0, 3, 3, 1)
#define sqqp to_rvec(0, 3, 3, 2)
#define sqqq to_rvec(0, 3, 3, 3)
#define sqq to_rvec(0, 3, 3)
#define sq to_rvec(0, 3)
#define tsss to_rvec(1, 0, 0, 0)
#define tsst to_rvec(1, 0, 0, 1)
#define tssp to_rvec(1, 0, 0, 2)
#define tssq to_rvec(1, 0, 0, 3)
#define tss to_rvec(1, 0, 0)
#define tsts to_rvec(1, 0, 1, 0)
#define tstt to_rvec(1, 0, 1, 1)
#define tstp to_rvec(1, 0, 1, 2)
#define tstq to_rvec(1, 0, 1, 3)
#define tst to_rvec(1, 0, 1)
#define tsps to_rvec(1, 0, 2, 0)
#define tspt to_rvec(1, 0, 2, 1)
#define tspp to_rvec(1, 0, 2, 2)
#define tspq to_rvec(1, 0, 2, 3)
#define tsp to_rvec(1, 0, 2)
#define tsqs to_rvec(1, 0, 3, 0)
#define tsqt to_rvec(1, 0, 3, 1)
#define tsqp to_rvec(1, 0, 3, 2)
#define tsqq to_rvec(1, 0, 3, 3)
#define tsq to_rvec(1, 0, 3)
#define ts to_rvec(1, 0)
#define ttss to_rvec(1, 1, 0, 0)
#define ttst to_rvec(1, 1, 0, 1)
#define ttsp to_rvec(1, 1, 0, 2)
#define ttsq to_rvec(1, 1, 0, 3)
#define tts to_rvec(1, 1, 0)
#define ttts to_rvec(1, 1, 1, 0)
#define tttt to_rvec(1, 1, 1, 1)
#define tttp to_rvec(1, 1, 1, 2)
#define tttq to_rvec(1, 1, 1, 3)
#define ttt to_rvec(1, 1, 1)
#define ttps to_rvec(1, 1, 2, 0)
#define ttpt to_rvec(1, 1, 2, 1)
#define ttpp to_rvec(1, 1, 2, 2)
#define ttpq to_rvec(1, 1, 2, 3)
#define ttp to_rvec(1, 1, 2)
#define ttqs to_rvec(1, 1, 3, 0)
#define ttqt to_rvec(1, 1, 3, 1)
#define ttqp to_rvec(1, 1, 3, 2)
#define ttqq to_rvec(1, 1, 3, 3)
#define ttq to_rvec(1, 1, 3)
#define tt to_rvec(1, 1)
#define tpss to_rvec(1, 2, 0, 0)
#define tpst to_rvec(1, 2, 0, 1)
#define tpsp to_rvec(1, 2, 0, 2)
#define tpsq to_rvec(1, 2, 0, 3)
#define tps to_rvec(1, 2, 0)
#define tpts to_rvec(1, 2, 1, 0)
#define tptt to_rvec(1, 2, 1, 1)
#define tptp to_rvec(1, 2, 1, 2)
#define tptq to_rvec(1, 2, 1, 3)
#define tpt to_rvec(1, 2, 1)
#define tpps to_rvec(1, 2, 2, 0)
#define tppt to_rvec(1, 2, 2, 1)
#define tppp to_rvec(1, 2, 2, 2)
#define tppq to_rvec(1, 2, 2, 3)
#define tpp to_rvec(1, 2, 2)
#define tpqs to_rvec(1, 2, 3, 0)
#define tpqt to_rvec(1, 2, 3, 1)
#define tpqp to_rvec(1, 2, 3, 2)
#define tpqq to_rvec(1, 2, 3, 3)
#define tpq to_rvec(1, 2, 3)
#define tp to_rvec(1, 2)
#define tqss to_rvec(1, 3, 0, 0)
#define tqst to_rvec(1, 3, 0, 1)
#define tqsp to_rvec(1, 3, 0, 2)
#define tqsq to_rvec(1, 3, 0, 3)
#define tqs to_rvec(1, 3, 0)
#define tqts to_rvec(1, 3, 1, 0)
#define tqtt to_rvec(1, 3, 1, 1)
#define tqtp to_rvec(1, 3, 1, 2)
#define tqtq to_rvec(1, 3, 1, 3)
#define tqt to_rvec(1, 3, 1)
#define tqps to_rvec(1, 3, 2, 0)
#define tqpt to_rvec(1, 3, 2, 1)
#define tqpp to_rvec(1, 3, 2, 2)
#define tqpq to_rvec(1, 3, 2, 3)
#define tqp to_rvec(1, 3, 2)
#define tqqs to_rvec(1, 3, 3, 0)
#define tqqt to_rvec(1, 3, 3, 1)
#define tqqp to_rvec(1, 3, 3, 2)
#define tqqq to_rvec(1, 3, 3, 3)
#define tqq to_rvec(1, 3, 3)
#define tq to_rvec(1, 3)
#define psss to_rvec(2, 0, 0, 0)
#define psst to_rvec(2, 0, 0, 1)
#define pssp to_rvec(2, 0, 0, 2)
#define pssq to_rvec(2, 0, 0, 3)
#define pss to_rvec(2, 0, 0)
#define psts to_rvec(2, 0, 1, 0)
#define pstt to_rvec(2, 0, 1, 1)
#define pstp to_rvec(2, 0, 1, 2)
#define pstq to_rvec(2, 0, 1, 3)
#define pst to_rvec(2, 0, 1)
#define psps to_rvec(2, 0, 2, 0)
#define pspt to_rvec(2, 0, 2, 1)
#define pspp to_rvec(2, 0, 2, 2)
#define pspq to_rvec(2, 0, 2, 3)
#define psp to_rvec(2, 0, 2)
#define psqs to_rvec(2, 0, 3, 0)
#define psqt to_rvec(2, 0, 3, 1)
#define psqp to_rvec(2, 0, 3, 2)
#define psqq to_rvec(2, 0, 3, 3)
#define psq to_rvec(2, 0, 3)
#define ps to_rvec(2, 0)
#define ptss to_rvec(2, 1, 0, 0)
#define ptst to_rvec(2, 1, 0, 1)
#define ptsp to_rvec(2, 1, 0, 2)
#define ptsq to_rvec(2, 1, 0, 3)
#define pts to_rvec(2, 1, 0)
#define ptts to_rvec(2, 1, 1, 0)
#define pttt to_rvec(2, 1, 1, 1)
#define pttp to_rvec(2, 1, 1, 2)
#define pttq to_rvec(2, 1, 1, 3)
#define ptt to_rvec(2, 1, 1)
#define ptps to_rvec(2, 1, 2, 0)
#define ptpt to_rvec(2, 1, 2, 1)
#define ptpp to_rvec(2, 1, 2, 2)
#define ptpq to_rvec(2, 1, 2, 3)
#define ptp to_rvec(2, 1, 2)
#define ptqs to_rvec(2, 1, 3, 0)
#define ptqt to_rvec(2, 1, 3, 1)
#define ptqp to_rvec(2, 1, 3, 2)
#define ptqq to_rvec(2, 1, 3, 3)
#define ptq to_rvec(2, 1, 3)
#define pt to_rvec(2, 1)
#define ppss to_rvec(2, 2, 0, 0)
#define ppst to_rvec(2, 2, 0, 1)
#define ppsp to_rvec(2, 2, 0, 2)
#define ppsq to_rvec(2, 2, 0, 3)
#define pps to_rvec(2, 2, 0)
#define ppts to_rvec(2, 2, 1, 0)
#define pptt to_rvec(2, 2, 1, 1)
#define pptp to_rvec(2, 2, 1, 2)
#define pptq to_rvec(2, 2, 1, 3)
#define ppt to_rvec(2, 2, 1)
#define ppps to_rvec(2, 2, 2, 0)
#define pppt to_rvec(2, 2, 2, 1)
#define pppp to_rvec(2, 2, 2, 2)
#define pppq to_rvec(2, 2, 2, 3)
#define ppp to_rvec(2, 2, 2)
#define ppqs to_rvec(2, 2, 3, 0)
#define ppqt to_rvec(2, 2, 3, 1)
#define ppqp to_rvec(2, 2, 3, 2)
#define ppqq to_rvec(2, 2, 3, 3)
#define ppq to_rvec(2, 2, 3)
#define pp to_rvec(2, 2)
#define pqss to_rvec(2, 3, 0, 0)
#define pqst to_rvec(2, 3, 0, 1)
#define pqsp to_rvec(2, 3, 0, 2)
#define pqsq to_rvec(2, 3, 0, 3)
#define pqs to_rvec(2, 3, 0)
#define pqts to_rvec(2, 3, 1, 0)
#define pqtt to_rvec(2, 3, 1, 1)
#define pqtp to_rvec(2, 3, 1, 2)
#define pqtq to_rvec(2, 3, 1, 3)
#define pqt to_rvec(2, 3, 1)
#define pqps to_rvec(2, 3, 2, 0)
#define pqpt to_rvec(2, 3, 2, 1)
#define pqpp to_rvec(2, 3, 2, 2)
#define pqpq to_rvec(2, 3, 2, 3)
#define pqp to_rvec(2, 3, 2)
#define pqqs to_rvec(2, 3, 3, 0)
#define pqqt to_rvec(2, 3, 3, 1)
#define pqqp to_rvec(2, 3, 3, 2)
#define pqqq to_rvec(2, 3, 3, 3)
#define pqq to_rvec(2, 3, 3)
#define pq to_rvec(2, 3)
#define qsss to_rvec(3, 0, 0, 0)
#define qsst to_rvec(3, 0, 0, 1)
#define qssp to_rvec(3, 0, 0, 2)
#define qssq to_rvec(3, 0, 0, 3)
#define qss to_rvec(3, 0, 0)
#define qsts to_rvec(3, 0, 1, 0)
#define qstt to_rvec(3, 0, 1, 1)
#define qstp to_rvec(3, 0, 1, 2)
#define qstq to_rvec(3, 0, 1, 3)
#define qst to_rvec(3, 0, 1)
#define qsps to_rvec(3, 0, 2, 0)
#define qspt to_rvec(3, 0, 2, 1)
#define qspp to_rvec(3, 0, 2, 2)
#define qspq to_rvec(3, 0, 2, 3)
#define qsp to_rvec(3, 0, 2)
#define qsqs to_rvec(3, 0, 3, 0)
#define qsqt to_rvec(3, 0, 3, 1)
#define qsqp to_rvec(3, 0, 3, 2)
#define qsqq to_rvec(3, 0, 3, 3)
#define qsq to_rvec(3, 0, 3)
#define qs to_rvec(3, 0)
#define qtss to_rvec(3, 1, 0, 0)
#define qtst to_rvec(3, 1, 0, 1)
#define qtsp to_rvec(3, 1, 0, 2)
#define qtsq to_rvec(3, 1, 0, 3)
#define qts to_rvec(3, 1, 0)
#define qtts to_rvec(3, 1, 1, 0)
#define qttt to_rvec(3, 1, 1, 1)
#define qttp to_rvec(3, 1, 1, 2)
#define qttq to_rvec(3, 1, 1, 3)
#define qtt to_rvec(3, 1, 1)
#define qtps to_rvec(3, 1, 2, 0)
#define qtpt to_rvec(3, 1, 2, 1)
#define qtpp to_rvec(3, 1, 2, 2)
#define qtpq to_rvec(3, 1, 2, 3)
#define qtp to_rvec(3, 1, 2)
#define qtqs to_rvec(3, 1, 3, 0)
#define qtqt to_rvec(3, 1, 3, 1)
#define qtqp to_rvec(3, 1, 3, 2)
#define qtqq to_rvec(3, 1, 3, 3)
#define qtq to_rvec(3, 1, 3)
#define qt to_rvec(3, 1)
#define qpss to_rvec(3, 2, 0, 0)
#define qpst to_rvec(3, 2, 0, 1)
#define qpsp to_rvec(3, 2, 0, 2)
#define qpsq to_rvec(3, 2, 0, 3)
#define qps to_rvec(3, 2, 0)
#define qpts to_rvec(3, 2, 1, 0)
#define qptt to_rvec(3, 2, 1, 1)
#define qptp to_rvec(3, 2, 1, 2)
#define qptq to_rvec(3, 2, 1, 3)
#define qpt to_rvec(3, 2, 1)
#define qpps to_rvec(3, 2, 2, 0)
#define qppt to_rvec(3, 2, 2, 1)
#define qppp to_rvec(3, 2, 2, 2)
#define qppq to_rvec(3, 2, 2, 3)
#define qpp to_rvec(3, 2, 2)
#define qpqs to_rvec(3, 2, 3, 0)
#define qpqt to_rvec(3, 2, 3, 1)
#define qpqp to_rvec(3, 2, 3, 2)
#define qpqq to_rvec(3, 2, 3, 3)
#define qpq to_rvec(3, 2, 3)
#define qp to_rvec(3, 2)
#define qqss to_rvec(3, 3, 0, 0)
#define qqst to_rvec(3, 3, 0, 1)
#define qqsp to_rvec(3, 3, 0, 2)
#define qqsq to_rvec(3, 3, 0, 3)
#define qqs to_rvec(3, 3, 0)
#define qqts to_rvec(3, 3, 1, 0)
#define qqtt to_rvec(3, 3, 1, 1)
#define qqtp to_rvec(3, 3, 1, 2)
#define qqtq to_rvec(3, 3, 1, 3)
#define qqt to_rvec(3, 3, 1)
#define qqps to_rvec(3, 3, 2, 0)
#define qqpt to_rvec(3, 3, 2, 1)
#define qqpp to_rvec(3, 3, 2, 2)