warp-lang 1.9.0__py3-none-manylinux_2_28_x86_64.whl → 1.9.1__py3-none-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of warp-lang might be problematic. Click here for more details.

warp/__init__.pyi CHANGED
@@ -20,6 +20,7 @@ from typing import Tuple
20
20
  from typing import Callable
21
21
  from typing import TypeVar
22
22
  from typing import Generic
23
+ from typing import Sequence
23
24
  from typing import overload as over
24
25
 
25
26
  Length = TypeVar("Length", bound=int)
@@ -332,6 +333,1423 @@ from . import config as config
332
333
 
333
334
  __version__ = config.version
334
335
 
336
+ class vec2h:
337
+ @over
338
+ def __init__(self) -> None:
339
+ """Construct a zero-initialized vector."""
340
+ ...
341
+
342
+ @over
343
+ def __init__(self, other: vec2h) -> None:
344
+ """Construct a vector by copy."""
345
+ ...
346
+
347
+ @over
348
+ def __init__(self, x: float16, y: float16) -> None:
349
+ """Construct a vector from its component values."""
350
+ ...
351
+
352
+ @over
353
+ def __init__(self, args: Sequence[float16]) -> None:
354
+ """Construct a vector from a sequence of values."""
355
+ ...
356
+
357
+ @over
358
+ def __init__(self, value: float16) -> None:
359
+ """Construct a vector filled with a value."""
360
+ ...
361
+
362
+ class vec2f:
363
+ @over
364
+ def __init__(self) -> None:
365
+ """Construct a zero-initialized vector."""
366
+ ...
367
+
368
+ @over
369
+ def __init__(self, other: vec2f) -> None:
370
+ """Construct a vector by copy."""
371
+ ...
372
+
373
+ @over
374
+ def __init__(self, x: float32, y: float32) -> None:
375
+ """Construct a vector from its component values."""
376
+ ...
377
+
378
+ @over
379
+ def __init__(self, args: Sequence[float32]) -> None:
380
+ """Construct a vector from a sequence of values."""
381
+ ...
382
+
383
+ @over
384
+ def __init__(self, value: float32) -> None:
385
+ """Construct a vector filled with a value."""
386
+ ...
387
+
388
+ class vec2d:
389
+ @over
390
+ def __init__(self) -> None:
391
+ """Construct a zero-initialized vector."""
392
+ ...
393
+
394
+ @over
395
+ def __init__(self, other: vec2d) -> None:
396
+ """Construct a vector by copy."""
397
+ ...
398
+
399
+ @over
400
+ def __init__(self, x: float64, y: float64) -> None:
401
+ """Construct a vector from its component values."""
402
+ ...
403
+
404
+ @over
405
+ def __init__(self, args: Sequence[float64]) -> None:
406
+ """Construct a vector from a sequence of values."""
407
+ ...
408
+
409
+ @over
410
+ def __init__(self, value: float64) -> None:
411
+ """Construct a vector filled with a value."""
412
+ ...
413
+
414
+ class vec2b:
415
+ @over
416
+ def __init__(self) -> None:
417
+ """Construct a zero-initialized vector."""
418
+ ...
419
+
420
+ @over
421
+ def __init__(self, other: vec2b) -> None:
422
+ """Construct a vector by copy."""
423
+ ...
424
+
425
+ @over
426
+ def __init__(self, x: int8, y: int8) -> None:
427
+ """Construct a vector from its component values."""
428
+ ...
429
+
430
+ @over
431
+ def __init__(self, args: Sequence[int8]) -> None:
432
+ """Construct a vector from a sequence of values."""
433
+ ...
434
+
435
+ @over
436
+ def __init__(self, value: int8) -> None:
437
+ """Construct a vector filled with a value."""
438
+ ...
439
+
440
+ class vec2ub:
441
+ @over
442
+ def __init__(self) -> None:
443
+ """Construct a zero-initialized vector."""
444
+ ...
445
+
446
+ @over
447
+ def __init__(self, other: vec2ub) -> None:
448
+ """Construct a vector by copy."""
449
+ ...
450
+
451
+ @over
452
+ def __init__(self, x: uint8, y: uint8) -> None:
453
+ """Construct a vector from its component values."""
454
+ ...
455
+
456
+ @over
457
+ def __init__(self, args: Sequence[uint8]) -> None:
458
+ """Construct a vector from a sequence of values."""
459
+ ...
460
+
461
+ @over
462
+ def __init__(self, value: uint8) -> None:
463
+ """Construct a vector filled with a value."""
464
+ ...
465
+
466
+ class vec2s:
467
+ @over
468
+ def __init__(self) -> None:
469
+ """Construct a zero-initialized vector."""
470
+ ...
471
+
472
+ @over
473
+ def __init__(self, other: vec2s) -> None:
474
+ """Construct a vector by copy."""
475
+ ...
476
+
477
+ @over
478
+ def __init__(self, x: int16, y: int16) -> None:
479
+ """Construct a vector from its component values."""
480
+ ...
481
+
482
+ @over
483
+ def __init__(self, args: Sequence[int16]) -> None:
484
+ """Construct a vector from a sequence of values."""
485
+ ...
486
+
487
+ @over
488
+ def __init__(self, value: int16) -> None:
489
+ """Construct a vector filled with a value."""
490
+ ...
491
+
492
+ class vec2us:
493
+ @over
494
+ def __init__(self) -> None:
495
+ """Construct a zero-initialized vector."""
496
+ ...
497
+
498
+ @over
499
+ def __init__(self, other: vec2us) -> None:
500
+ """Construct a vector by copy."""
501
+ ...
502
+
503
+ @over
504
+ def __init__(self, x: uint16, y: uint16) -> None:
505
+ """Construct a vector from its component values."""
506
+ ...
507
+
508
+ @over
509
+ def __init__(self, args: Sequence[uint16]) -> None:
510
+ """Construct a vector from a sequence of values."""
511
+ ...
512
+
513
+ @over
514
+ def __init__(self, value: uint16) -> None:
515
+ """Construct a vector filled with a value."""
516
+ ...
517
+
518
+ class vec2i:
519
+ @over
520
+ def __init__(self) -> None:
521
+ """Construct a zero-initialized vector."""
522
+ ...
523
+
524
+ @over
525
+ def __init__(self, other: vec2i) -> None:
526
+ """Construct a vector by copy."""
527
+ ...
528
+
529
+ @over
530
+ def __init__(self, x: int32, y: int32) -> None:
531
+ """Construct a vector from its component values."""
532
+ ...
533
+
534
+ @over
535
+ def __init__(self, args: Sequence[int32]) -> None:
536
+ """Construct a vector from a sequence of values."""
537
+ ...
538
+
539
+ @over
540
+ def __init__(self, value: int32) -> None:
541
+ """Construct a vector filled with a value."""
542
+ ...
543
+
544
+ class vec2ui:
545
+ @over
546
+ def __init__(self) -> None:
547
+ """Construct a zero-initialized vector."""
548
+ ...
549
+
550
+ @over
551
+ def __init__(self, other: vec2ui) -> None:
552
+ """Construct a vector by copy."""
553
+ ...
554
+
555
+ @over
556
+ def __init__(self, x: uint32, y: uint32) -> None:
557
+ """Construct a vector from its component values."""
558
+ ...
559
+
560
+ @over
561
+ def __init__(self, args: Sequence[uint32]) -> None:
562
+ """Construct a vector from a sequence of values."""
563
+ ...
564
+
565
+ @over
566
+ def __init__(self, value: uint32) -> None:
567
+ """Construct a vector filled with a value."""
568
+ ...
569
+
570
+ class vec2l:
571
+ @over
572
+ def __init__(self) -> None:
573
+ """Construct a zero-initialized vector."""
574
+ ...
575
+
576
+ @over
577
+ def __init__(self, other: vec2l) -> None:
578
+ """Construct a vector by copy."""
579
+ ...
580
+
581
+ @over
582
+ def __init__(self, x: int64, y: int64) -> None:
583
+ """Construct a vector from its component values."""
584
+ ...
585
+
586
+ @over
587
+ def __init__(self, args: Sequence[int64]) -> None:
588
+ """Construct a vector from a sequence of values."""
589
+ ...
590
+
591
+ @over
592
+ def __init__(self, value: int64) -> None:
593
+ """Construct a vector filled with a value."""
594
+ ...
595
+
596
+ class vec2ul:
597
+ @over
598
+ def __init__(self) -> None:
599
+ """Construct a zero-initialized vector."""
600
+ ...
601
+
602
+ @over
603
+ def __init__(self, other: vec2ul) -> None:
604
+ """Construct a vector by copy."""
605
+ ...
606
+
607
+ @over
608
+ def __init__(self, x: uint64, y: uint64) -> None:
609
+ """Construct a vector from its component values."""
610
+ ...
611
+
612
+ @over
613
+ def __init__(self, args: Sequence[uint64]) -> None:
614
+ """Construct a vector from a sequence of values."""
615
+ ...
616
+
617
+ @over
618
+ def __init__(self, value: uint64) -> None:
619
+ """Construct a vector filled with a value."""
620
+ ...
621
+
622
+ vec2 = vec2f
623
+
624
+ class vec3h:
625
+ @over
626
+ def __init__(self) -> None:
627
+ """Construct a zero-initialized vector."""
628
+ ...
629
+
630
+ @over
631
+ def __init__(self, other: vec3h) -> None:
632
+ """Construct a vector by copy."""
633
+ ...
634
+
635
+ @over
636
+ def __init__(self, x: float16, y: float16, z: float16) -> None:
637
+ """Construct a vector from its component values."""
638
+ ...
639
+
640
+ @over
641
+ def __init__(self, args: Sequence[float16]) -> None:
642
+ """Construct a vector from a sequence of values."""
643
+ ...
644
+
645
+ @over
646
+ def __init__(self, value: float16) -> None:
647
+ """Construct a vector filled with a value."""
648
+ ...
649
+
650
+ class vec3f:
651
+ @over
652
+ def __init__(self) -> None:
653
+ """Construct a zero-initialized vector."""
654
+ ...
655
+
656
+ @over
657
+ def __init__(self, other: vec3f) -> None:
658
+ """Construct a vector by copy."""
659
+ ...
660
+
661
+ @over
662
+ def __init__(self, x: float32, y: float32, z: float32) -> None:
663
+ """Construct a vector from its component values."""
664
+ ...
665
+
666
+ @over
667
+ def __init__(self, args: Sequence[float32]) -> None:
668
+ """Construct a vector from a sequence of values."""
669
+ ...
670
+
671
+ @over
672
+ def __init__(self, value: float32) -> None:
673
+ """Construct a vector filled with a value."""
674
+ ...
675
+
676
+ class vec3d:
677
+ @over
678
+ def __init__(self) -> None:
679
+ """Construct a zero-initialized vector."""
680
+ ...
681
+
682
+ @over
683
+ def __init__(self, other: vec3d) -> None:
684
+ """Construct a vector by copy."""
685
+ ...
686
+
687
+ @over
688
+ def __init__(self, x: float64, y: float64, z: float64) -> None:
689
+ """Construct a vector from its component values."""
690
+ ...
691
+
692
+ @over
693
+ def __init__(self, args: Sequence[float64]) -> None:
694
+ """Construct a vector from a sequence of values."""
695
+ ...
696
+
697
+ @over
698
+ def __init__(self, value: float64) -> None:
699
+ """Construct a vector filled with a value."""
700
+ ...
701
+
702
+ class vec3b:
703
+ @over
704
+ def __init__(self) -> None:
705
+ """Construct a zero-initialized vector."""
706
+ ...
707
+
708
+ @over
709
+ def __init__(self, other: vec3b) -> None:
710
+ """Construct a vector by copy."""
711
+ ...
712
+
713
+ @over
714
+ def __init__(self, x: int8, y: int8, z: int8) -> None:
715
+ """Construct a vector from its component values."""
716
+ ...
717
+
718
+ @over
719
+ def __init__(self, args: Sequence[int8]) -> None:
720
+ """Construct a vector from a sequence of values."""
721
+ ...
722
+
723
+ @over
724
+ def __init__(self, value: int8) -> None:
725
+ """Construct a vector filled with a value."""
726
+ ...
727
+
728
+ class vec3ub:
729
+ @over
730
+ def __init__(self) -> None:
731
+ """Construct a zero-initialized vector."""
732
+ ...
733
+
734
+ @over
735
+ def __init__(self, other: vec3ub) -> None:
736
+ """Construct a vector by copy."""
737
+ ...
738
+
739
+ @over
740
+ def __init__(self, x: uint8, y: uint8, z: uint8) -> None:
741
+ """Construct a vector from its component values."""
742
+ ...
743
+
744
+ @over
745
+ def __init__(self, args: Sequence[uint8]) -> None:
746
+ """Construct a vector from a sequence of values."""
747
+ ...
748
+
749
+ @over
750
+ def __init__(self, value: uint8) -> None:
751
+ """Construct a vector filled with a value."""
752
+ ...
753
+
754
+ class vec3s:
755
+ @over
756
+ def __init__(self) -> None:
757
+ """Construct a zero-initialized vector."""
758
+ ...
759
+
760
+ @over
761
+ def __init__(self, other: vec3s) -> None:
762
+ """Construct a vector by copy."""
763
+ ...
764
+
765
+ @over
766
+ def __init__(self, x: int16, y: int16, z: int16) -> None:
767
+ """Construct a vector from its component values."""
768
+ ...
769
+
770
+ @over
771
+ def __init__(self, args: Sequence[int16]) -> None:
772
+ """Construct a vector from a sequence of values."""
773
+ ...
774
+
775
+ @over
776
+ def __init__(self, value: int16) -> None:
777
+ """Construct a vector filled with a value."""
778
+ ...
779
+
780
+ class vec3us:
781
+ @over
782
+ def __init__(self) -> None:
783
+ """Construct a zero-initialized vector."""
784
+ ...
785
+
786
+ @over
787
+ def __init__(self, other: vec3us) -> None:
788
+ """Construct a vector by copy."""
789
+ ...
790
+
791
+ @over
792
+ def __init__(self, x: uint16, y: uint16, z: uint16) -> None:
793
+ """Construct a vector from its component values."""
794
+ ...
795
+
796
+ @over
797
+ def __init__(self, args: Sequence[uint16]) -> None:
798
+ """Construct a vector from a sequence of values."""
799
+ ...
800
+
801
+ @over
802
+ def __init__(self, value: uint16) -> None:
803
+ """Construct a vector filled with a value."""
804
+ ...
805
+
806
+ class vec3i:
807
+ @over
808
+ def __init__(self) -> None:
809
+ """Construct a zero-initialized vector."""
810
+ ...
811
+
812
+ @over
813
+ def __init__(self, other: vec3i) -> None:
814
+ """Construct a vector by copy."""
815
+ ...
816
+
817
+ @over
818
+ def __init__(self, x: int32, y: int32, z: int32) -> None:
819
+ """Construct a vector from its component values."""
820
+ ...
821
+
822
+ @over
823
+ def __init__(self, args: Sequence[int32]) -> None:
824
+ """Construct a vector from a sequence of values."""
825
+ ...
826
+
827
+ @over
828
+ def __init__(self, value: int32) -> None:
829
+ """Construct a vector filled with a value."""
830
+ ...
831
+
832
+ class vec3ui:
833
+ @over
834
+ def __init__(self) -> None:
835
+ """Construct a zero-initialized vector."""
836
+ ...
837
+
838
+ @over
839
+ def __init__(self, other: vec3ui) -> None:
840
+ """Construct a vector by copy."""
841
+ ...
842
+
843
+ @over
844
+ def __init__(self, x: uint32, y: uint32, z: uint32) -> None:
845
+ """Construct a vector from its component values."""
846
+ ...
847
+
848
+ @over
849
+ def __init__(self, args: Sequence[uint32]) -> None:
850
+ """Construct a vector from a sequence of values."""
851
+ ...
852
+
853
+ @over
854
+ def __init__(self, value: uint32) -> None:
855
+ """Construct a vector filled with a value."""
856
+ ...
857
+
858
+ class vec3l:
859
+ @over
860
+ def __init__(self) -> None:
861
+ """Construct a zero-initialized vector."""
862
+ ...
863
+
864
+ @over
865
+ def __init__(self, other: vec3l) -> None:
866
+ """Construct a vector by copy."""
867
+ ...
868
+
869
+ @over
870
+ def __init__(self, x: int64, y: int64, z: int64) -> None:
871
+ """Construct a vector from its component values."""
872
+ ...
873
+
874
+ @over
875
+ def __init__(self, args: Sequence[int64]) -> None:
876
+ """Construct a vector from a sequence of values."""
877
+ ...
878
+
879
+ @over
880
+ def __init__(self, value: int64) -> None:
881
+ """Construct a vector filled with a value."""
882
+ ...
883
+
884
+ class vec3ul:
885
+ @over
886
+ def __init__(self) -> None:
887
+ """Construct a zero-initialized vector."""
888
+ ...
889
+
890
+ @over
891
+ def __init__(self, other: vec3ul) -> None:
892
+ """Construct a vector by copy."""
893
+ ...
894
+
895
+ @over
896
+ def __init__(self, x: uint64, y: uint64, z: uint64) -> None:
897
+ """Construct a vector from its component values."""
898
+ ...
899
+
900
+ @over
901
+ def __init__(self, args: Sequence[uint64]) -> None:
902
+ """Construct a vector from a sequence of values."""
903
+ ...
904
+
905
+ @over
906
+ def __init__(self, value: uint64) -> None:
907
+ """Construct a vector filled with a value."""
908
+ ...
909
+
910
+ vec3 = vec3f
911
+
912
+ class vec4h:
913
+ @over
914
+ def __init__(self) -> None:
915
+ """Construct a zero-initialized vector."""
916
+ ...
917
+
918
+ @over
919
+ def __init__(self, other: vec4h) -> None:
920
+ """Construct a vector by copy."""
921
+ ...
922
+
923
+ @over
924
+ def __init__(self, x: float16, y: float16, z: float16, w: float16) -> None:
925
+ """Construct a vector from its component values."""
926
+ ...
927
+
928
+ @over
929
+ def __init__(self, args: Sequence[float16]) -> None:
930
+ """Construct a vector from a sequence of values."""
931
+ ...
932
+
933
+ @over
934
+ def __init__(self, value: float16) -> None:
935
+ """Construct a vector filled with a value."""
936
+ ...
937
+
938
+ class vec4f:
939
+ @over
940
+ def __init__(self) -> None:
941
+ """Construct a zero-initialized vector."""
942
+ ...
943
+
944
+ @over
945
+ def __init__(self, other: vec4f) -> None:
946
+ """Construct a vector by copy."""
947
+ ...
948
+
949
+ @over
950
+ def __init__(self, x: float32, y: float32, z: float32, w: float32) -> None:
951
+ """Construct a vector from its component values."""
952
+ ...
953
+
954
+ @over
955
+ def __init__(self, args: Sequence[float32]) -> None:
956
+ """Construct a vector from a sequence of values."""
957
+ ...
958
+
959
+ @over
960
+ def __init__(self, value: float32) -> None:
961
+ """Construct a vector filled with a value."""
962
+ ...
963
+
964
+ class vec4d:
965
+ @over
966
+ def __init__(self) -> None:
967
+ """Construct a zero-initialized vector."""
968
+ ...
969
+
970
+ @over
971
+ def __init__(self, other: vec4d) -> None:
972
+ """Construct a vector by copy."""
973
+ ...
974
+
975
+ @over
976
+ def __init__(self, x: float64, y: float64, z: float64, w: float64) -> None:
977
+ """Construct a vector from its component values."""
978
+ ...
979
+
980
+ @over
981
+ def __init__(self, args: Sequence[float64]) -> None:
982
+ """Construct a vector from a sequence of values."""
983
+ ...
984
+
985
+ @over
986
+ def __init__(self, value: float64) -> None:
987
+ """Construct a vector filled with a value."""
988
+ ...
989
+
990
+ class vec4b:
991
+ @over
992
+ def __init__(self) -> None:
993
+ """Construct a zero-initialized vector."""
994
+ ...
995
+
996
+ @over
997
+ def __init__(self, other: vec4b) -> None:
998
+ """Construct a vector by copy."""
999
+ ...
1000
+
1001
+ @over
1002
+ def __init__(self, x: int8, y: int8, z: int8, w: int8) -> None:
1003
+ """Construct a vector from its component values."""
1004
+ ...
1005
+
1006
+ @over
1007
+ def __init__(self, args: Sequence[int8]) -> None:
1008
+ """Construct a vector from a sequence of values."""
1009
+ ...
1010
+
1011
+ @over
1012
+ def __init__(self, value: int8) -> None:
1013
+ """Construct a vector filled with a value."""
1014
+ ...
1015
+
1016
+ class vec4ub:
1017
+ @over
1018
+ def __init__(self) -> None:
1019
+ """Construct a zero-initialized vector."""
1020
+ ...
1021
+
1022
+ @over
1023
+ def __init__(self, other: vec4ub) -> None:
1024
+ """Construct a vector by copy."""
1025
+ ...
1026
+
1027
+ @over
1028
+ def __init__(self, x: uint8, y: uint8, z: uint8, w: uint8) -> None:
1029
+ """Construct a vector from its component values."""
1030
+ ...
1031
+
1032
+ @over
1033
+ def __init__(self, args: Sequence[uint8]) -> None:
1034
+ """Construct a vector from a sequence of values."""
1035
+ ...
1036
+
1037
+ @over
1038
+ def __init__(self, value: uint8) -> None:
1039
+ """Construct a vector filled with a value."""
1040
+ ...
1041
+
1042
+ class vec4s:
1043
+ @over
1044
+ def __init__(self) -> None:
1045
+ """Construct a zero-initialized vector."""
1046
+ ...
1047
+
1048
+ @over
1049
+ def __init__(self, other: vec4s) -> None:
1050
+ """Construct a vector by copy."""
1051
+ ...
1052
+
1053
+ @over
1054
+ def __init__(self, x: int16, y: int16, z: int16, w: int16) -> None:
1055
+ """Construct a vector from its component values."""
1056
+ ...
1057
+
1058
+ @over
1059
+ def __init__(self, args: Sequence[int16]) -> None:
1060
+ """Construct a vector from a sequence of values."""
1061
+ ...
1062
+
1063
+ @over
1064
+ def __init__(self, value: int16) -> None:
1065
+ """Construct a vector filled with a value."""
1066
+ ...
1067
+
1068
+ class vec4us:
1069
+ @over
1070
+ def __init__(self) -> None:
1071
+ """Construct a zero-initialized vector."""
1072
+ ...
1073
+
1074
+ @over
1075
+ def __init__(self, other: vec4us) -> None:
1076
+ """Construct a vector by copy."""
1077
+ ...
1078
+
1079
+ @over
1080
+ def __init__(self, x: uint16, y: uint16, z: uint16, w: uint16) -> None:
1081
+ """Construct a vector from its component values."""
1082
+ ...
1083
+
1084
+ @over
1085
+ def __init__(self, args: Sequence[uint16]) -> None:
1086
+ """Construct a vector from a sequence of values."""
1087
+ ...
1088
+
1089
+ @over
1090
+ def __init__(self, value: uint16) -> None:
1091
+ """Construct a vector filled with a value."""
1092
+ ...
1093
+
1094
+ class vec4i:
1095
+ @over
1096
+ def __init__(self) -> None:
1097
+ """Construct a zero-initialized vector."""
1098
+ ...
1099
+
1100
+ @over
1101
+ def __init__(self, other: vec4i) -> None:
1102
+ """Construct a vector by copy."""
1103
+ ...
1104
+
1105
+ @over
1106
+ def __init__(self, x: int32, y: int32, z: int32, w: int32) -> None:
1107
+ """Construct a vector from its component values."""
1108
+ ...
1109
+
1110
+ @over
1111
+ def __init__(self, args: Sequence[int32]) -> None:
1112
+ """Construct a vector from a sequence of values."""
1113
+ ...
1114
+
1115
+ @over
1116
+ def __init__(self, value: int32) -> None:
1117
+ """Construct a vector filled with a value."""
1118
+ ...
1119
+
1120
+ class vec4ui:
1121
+ @over
1122
+ def __init__(self) -> None:
1123
+ """Construct a zero-initialized vector."""
1124
+ ...
1125
+
1126
+ @over
1127
+ def __init__(self, other: vec4ui) -> None:
1128
+ """Construct a vector by copy."""
1129
+ ...
1130
+
1131
+ @over
1132
+ def __init__(self, x: uint32, y: uint32, z: uint32, w: uint32) -> None:
1133
+ """Construct a vector from its component values."""
1134
+ ...
1135
+
1136
+ @over
1137
+ def __init__(self, args: Sequence[uint32]) -> None:
1138
+ """Construct a vector from a sequence of values."""
1139
+ ...
1140
+
1141
+ @over
1142
+ def __init__(self, value: uint32) -> None:
1143
+ """Construct a vector filled with a value."""
1144
+ ...
1145
+
1146
+ class vec4l:
1147
+ @over
1148
+ def __init__(self) -> None:
1149
+ """Construct a zero-initialized vector."""
1150
+ ...
1151
+
1152
+ @over
1153
+ def __init__(self, other: vec4l) -> None:
1154
+ """Construct a vector by copy."""
1155
+ ...
1156
+
1157
+ @over
1158
+ def __init__(self, x: int64, y: int64, z: int64, w: int64) -> None:
1159
+ """Construct a vector from its component values."""
1160
+ ...
1161
+
1162
+ @over
1163
+ def __init__(self, args: Sequence[int64]) -> None:
1164
+ """Construct a vector from a sequence of values."""
1165
+ ...
1166
+
1167
+ @over
1168
+ def __init__(self, value: int64) -> None:
1169
+ """Construct a vector filled with a value."""
1170
+ ...
1171
+
1172
+ class vec4ul:
1173
+ @over
1174
+ def __init__(self) -> None:
1175
+ """Construct a zero-initialized vector."""
1176
+ ...
1177
+
1178
+ @over
1179
+ def __init__(self, other: vec4ul) -> None:
1180
+ """Construct a vector by copy."""
1181
+ ...
1182
+
1183
+ @over
1184
+ def __init__(self, x: uint64, y: uint64, z: uint64, w: uint64) -> None:
1185
+ """Construct a vector from its component values."""
1186
+ ...
1187
+
1188
+ @over
1189
+ def __init__(self, args: Sequence[uint64]) -> None:
1190
+ """Construct a vector from a sequence of values."""
1191
+ ...
1192
+
1193
+ @over
1194
+ def __init__(self, value: uint64) -> None:
1195
+ """Construct a vector filled with a value."""
1196
+ ...
1197
+
1198
+ vec4 = vec4f
1199
+
1200
+ class mat22h:
1201
+ @over
1202
+ def __init__(self) -> None:
1203
+ """Construct a zero-initialized matrix."""
1204
+ ...
1205
+
1206
+ @over
1207
+ def __init__(self, other: mat22h) -> None:
1208
+ """Construct a matrix by copy."""
1209
+ ...
1210
+
1211
+ @over
1212
+ def __init__(self, m00: float16, m01: float16, m10: float16, m11: float16) -> None:
1213
+ """Construct a matrix from its component values."""
1214
+ ...
1215
+
1216
+ @over
1217
+ def __init__(self, v0: vec2h, v1: vec2h) -> None:
1218
+ """Construct a matrix from its row vectors."""
1219
+ ...
1220
+
1221
+ @over
1222
+ def __init__(self, args: Sequence[float16]) -> None:
1223
+ """Construct a matrix from a sequence of values."""
1224
+ ...
1225
+
1226
+ @over
1227
+ def __init__(self, value: float16) -> None:
1228
+ """Construct a matrix filled with a value."""
1229
+ ...
1230
+
1231
+ class mat22f:
1232
+ @over
1233
+ def __init__(self) -> None:
1234
+ """Construct a zero-initialized matrix."""
1235
+ ...
1236
+
1237
+ @over
1238
+ def __init__(self, other: mat22f) -> None:
1239
+ """Construct a matrix by copy."""
1240
+ ...
1241
+
1242
+ @over
1243
+ def __init__(self, m00: float32, m01: float32, m10: float32, m11: float32) -> None:
1244
+ """Construct a matrix from its component values."""
1245
+ ...
1246
+
1247
+ @over
1248
+ def __init__(self, v0: vec2f, v1: vec2f) -> None:
1249
+ """Construct a matrix from its row vectors."""
1250
+ ...
1251
+
1252
+ @over
1253
+ def __init__(self, args: Sequence[float32]) -> None:
1254
+ """Construct a matrix from a sequence of values."""
1255
+ ...
1256
+
1257
+ @over
1258
+ def __init__(self, value: float32) -> None:
1259
+ """Construct a matrix filled with a value."""
1260
+ ...
1261
+
1262
+ class mat22d:
1263
+ @over
1264
+ def __init__(self) -> None:
1265
+ """Construct a zero-initialized matrix."""
1266
+ ...
1267
+
1268
+ @over
1269
+ def __init__(self, other: mat22d) -> None:
1270
+ """Construct a matrix by copy."""
1271
+ ...
1272
+
1273
+ @over
1274
+ def __init__(self, m00: float64, m01: float64, m10: float64, m11: float64) -> None:
1275
+ """Construct a matrix from its component values."""
1276
+ ...
1277
+
1278
+ @over
1279
+ def __init__(self, v0: vec2d, v1: vec2d) -> None:
1280
+ """Construct a matrix from its row vectors."""
1281
+ ...
1282
+
1283
+ @over
1284
+ def __init__(self, args: Sequence[float64]) -> None:
1285
+ """Construct a matrix from a sequence of values."""
1286
+ ...
1287
+
1288
+ @over
1289
+ def __init__(self, value: float64) -> None:
1290
+ """Construct a matrix filled with a value."""
1291
+ ...
1292
+
1293
+ mat22 = mat22f
1294
+
1295
+ class mat33h:
1296
+ @over
1297
+ def __init__(self) -> None:
1298
+ """Construct a zero-initialized matrix."""
1299
+ ...
1300
+
1301
+ @over
1302
+ def __init__(self, other: mat33h) -> None:
1303
+ """Construct a matrix by copy."""
1304
+ ...
1305
+
1306
+ @over
1307
+ def __init__(
1308
+ self,
1309
+ m00: float16,
1310
+ m01: float16,
1311
+ m02: float16,
1312
+ m10: float16,
1313
+ m11: float16,
1314
+ m12: float16,
1315
+ m20: float16,
1316
+ m21: float16,
1317
+ m22: float16,
1318
+ ) -> None:
1319
+ """Construct a matrix from its component values."""
1320
+ ...
1321
+
1322
+ @over
1323
+ def __init__(self, v0: vec3h, v1: vec3h, v2: vec3h) -> None:
1324
+ """Construct a matrix from its row vectors."""
1325
+ ...
1326
+
1327
+ @over
1328
+ def __init__(self, args: Sequence[float16]) -> None:
1329
+ """Construct a matrix from a sequence of values."""
1330
+ ...
1331
+
1332
+ @over
1333
+ def __init__(self, value: float16) -> None:
1334
+ """Construct a matrix filled with a value."""
1335
+ ...
1336
+
1337
+ class mat33f:
1338
+ @over
1339
+ def __init__(self) -> None:
1340
+ """Construct a zero-initialized matrix."""
1341
+ ...
1342
+
1343
+ @over
1344
+ def __init__(self, other: mat33f) -> None:
1345
+ """Construct a matrix by copy."""
1346
+ ...
1347
+
1348
+ @over
1349
+ def __init__(
1350
+ self,
1351
+ m00: float32,
1352
+ m01: float32,
1353
+ m02: float32,
1354
+ m10: float32,
1355
+ m11: float32,
1356
+ m12: float32,
1357
+ m20: float32,
1358
+ m21: float32,
1359
+ m22: float32,
1360
+ ) -> None:
1361
+ """Construct a matrix from its component values."""
1362
+ ...
1363
+
1364
+ @over
1365
+ def __init__(self, v0: vec3f, v1: vec3f, v2: vec3f) -> None:
1366
+ """Construct a matrix from its row vectors."""
1367
+ ...
1368
+
1369
+ @over
1370
+ def __init__(self, args: Sequence[float32]) -> None:
1371
+ """Construct a matrix from a sequence of values."""
1372
+ ...
1373
+
1374
+ @over
1375
+ def __init__(self, value: float32) -> None:
1376
+ """Construct a matrix filled with a value."""
1377
+ ...
1378
+
1379
+ class mat33d:
1380
+ @over
1381
+ def __init__(self) -> None:
1382
+ """Construct a zero-initialized matrix."""
1383
+ ...
1384
+
1385
+ @over
1386
+ def __init__(self, other: mat33d) -> None:
1387
+ """Construct a matrix by copy."""
1388
+ ...
1389
+
1390
+ @over
1391
+ def __init__(
1392
+ self,
1393
+ m00: float64,
1394
+ m01: float64,
1395
+ m02: float64,
1396
+ m10: float64,
1397
+ m11: float64,
1398
+ m12: float64,
1399
+ m20: float64,
1400
+ m21: float64,
1401
+ m22: float64,
1402
+ ) -> None:
1403
+ """Construct a matrix from its component values."""
1404
+ ...
1405
+
1406
+ @over
1407
+ def __init__(self, v0: vec3d, v1: vec3d, v2: vec3d) -> None:
1408
+ """Construct a matrix from its row vectors."""
1409
+ ...
1410
+
1411
+ @over
1412
+ def __init__(self, args: Sequence[float64]) -> None:
1413
+ """Construct a matrix from a sequence of values."""
1414
+ ...
1415
+
1416
+ @over
1417
+ def __init__(self, value: float64) -> None:
1418
+ """Construct a matrix filled with a value."""
1419
+ ...
1420
+
1421
+ mat33 = mat33f
1422
+
1423
+ class mat44h:
1424
+ @over
1425
+ def __init__(self) -> None:
1426
+ """Construct a zero-initialized matrix."""
1427
+ ...
1428
+
1429
+ @over
1430
+ def __init__(self, other: mat44h) -> None:
1431
+ """Construct a matrix by copy."""
1432
+ ...
1433
+
1434
+ @over
1435
+ def __init__(
1436
+ self,
1437
+ m00: float16,
1438
+ m01: float16,
1439
+ m02: float16,
1440
+ m03: float16,
1441
+ m10: float16,
1442
+ m11: float16,
1443
+ m12: float16,
1444
+ m13: float16,
1445
+ m20: float16,
1446
+ m21: float16,
1447
+ m22: float16,
1448
+ m23: float16,
1449
+ m30: float16,
1450
+ m31: float16,
1451
+ m32: float16,
1452
+ m33: float16,
1453
+ ) -> None:
1454
+ """Construct a matrix from its component values."""
1455
+ ...
1456
+
1457
+ @over
1458
+ def __init__(self, v0: vec4h, v1: vec4h, v2: vec4h, v3: vec4h) -> None:
1459
+ """Construct a matrix from its row vectors."""
1460
+ ...
1461
+
1462
+ @over
1463
+ def __init__(self, args: Sequence[float16]) -> None:
1464
+ """Construct a matrix from a sequence of values."""
1465
+ ...
1466
+
1467
+ @over
1468
+ def __init__(self, value: float16) -> None:
1469
+ """Construct a matrix filled with a value."""
1470
+ ...
1471
+
1472
+ class mat44f:
1473
+ @over
1474
+ def __init__(self) -> None:
1475
+ """Construct a zero-initialized matrix."""
1476
+ ...
1477
+
1478
+ @over
1479
+ def __init__(self, other: mat44f) -> None:
1480
+ """Construct a matrix by copy."""
1481
+ ...
1482
+
1483
+ @over
1484
+ def __init__(
1485
+ self,
1486
+ m00: float32,
1487
+ m01: float32,
1488
+ m02: float32,
1489
+ m03: float32,
1490
+ m10: float32,
1491
+ m11: float32,
1492
+ m12: float32,
1493
+ m13: float32,
1494
+ m20: float32,
1495
+ m21: float32,
1496
+ m22: float32,
1497
+ m23: float32,
1498
+ m30: float32,
1499
+ m31: float32,
1500
+ m32: float32,
1501
+ m33: float32,
1502
+ ) -> None:
1503
+ """Construct a matrix from its component values."""
1504
+ ...
1505
+
1506
+ @over
1507
+ def __init__(self, v0: vec4f, v1: vec4f, v2: vec4f, v3: vec4f) -> None:
1508
+ """Construct a matrix from its row vectors."""
1509
+ ...
1510
+
1511
+ @over
1512
+ def __init__(self, args: Sequence[float32]) -> None:
1513
+ """Construct a matrix from a sequence of values."""
1514
+ ...
1515
+
1516
+ @over
1517
+ def __init__(self, value: float32) -> None:
1518
+ """Construct a matrix filled with a value."""
1519
+ ...
1520
+
1521
+ class mat44d:
1522
+ @over
1523
+ def __init__(self) -> None:
1524
+ """Construct a zero-initialized matrix."""
1525
+ ...
1526
+
1527
+ @over
1528
+ def __init__(self, other: mat44d) -> None:
1529
+ """Construct a matrix by copy."""
1530
+ ...
1531
+
1532
+ @over
1533
+ def __init__(
1534
+ self,
1535
+ m00: float64,
1536
+ m01: float64,
1537
+ m02: float64,
1538
+ m03: float64,
1539
+ m10: float64,
1540
+ m11: float64,
1541
+ m12: float64,
1542
+ m13: float64,
1543
+ m20: float64,
1544
+ m21: float64,
1545
+ m22: float64,
1546
+ m23: float64,
1547
+ m30: float64,
1548
+ m31: float64,
1549
+ m32: float64,
1550
+ m33: float64,
1551
+ ) -> None:
1552
+ """Construct a matrix from its component values."""
1553
+ ...
1554
+
1555
+ @over
1556
+ def __init__(self, v0: vec4d, v1: vec4d, v2: vec4d, v3: vec4d) -> None:
1557
+ """Construct a matrix from its row vectors."""
1558
+ ...
1559
+
1560
+ @over
1561
+ def __init__(self, args: Sequence[float64]) -> None:
1562
+ """Construct a matrix from a sequence of values."""
1563
+ ...
1564
+
1565
+ @over
1566
+ def __init__(self, value: float64) -> None:
1567
+ """Construct a matrix filled with a value."""
1568
+ ...
1569
+
1570
+ mat44 = mat44f
1571
+
1572
+ class quath:
1573
+ @over
1574
+ def __init__(self) -> None:
1575
+ """Construct a zero-initialized quaternion."""
1576
+ ...
1577
+
1578
+ @over
1579
+ def __init__(self, other: quath) -> None:
1580
+ """Construct a quaternion by copy."""
1581
+ ...
1582
+
1583
+ @over
1584
+ def __init__(self, x: float16, y: float16, z: float16, w: float16) -> None:
1585
+ """Construct a quaternion from its component values."""
1586
+ ...
1587
+
1588
+ @over
1589
+ def __init__(self, args: Sequence[float16]) -> None:
1590
+ """Construct a quaternion from a sequence of values."""
1591
+ ...
1592
+
1593
+ @over
1594
+ def __init__(self, value: float16) -> None:
1595
+ """Construct a quaternion filled with a value."""
1596
+ ...
1597
+
1598
+ class quatf:
1599
+ @over
1600
+ def __init__(self) -> None:
1601
+ """Construct a zero-initialized quaternion."""
1602
+ ...
1603
+
1604
+ @over
1605
+ def __init__(self, other: quatf) -> None:
1606
+ """Construct a quaternion by copy."""
1607
+ ...
1608
+
1609
+ @over
1610
+ def __init__(self, x: float32, y: float32, z: float32, w: float32) -> None:
1611
+ """Construct a quaternion from its component values."""
1612
+ ...
1613
+
1614
+ @over
1615
+ def __init__(self, args: Sequence[float32]) -> None:
1616
+ """Construct a quaternion from a sequence of values."""
1617
+ ...
1618
+
1619
+ @over
1620
+ def __init__(self, value: float32) -> None:
1621
+ """Construct a quaternion filled with a value."""
1622
+ ...
1623
+
1624
+ class quatd:
1625
+ @over
1626
+ def __init__(self) -> None:
1627
+ """Construct a zero-initialized quaternion."""
1628
+ ...
1629
+
1630
+ @over
1631
+ def __init__(self, other: quatd) -> None:
1632
+ """Construct a quaternion by copy."""
1633
+ ...
1634
+
1635
+ @over
1636
+ def __init__(self, x: float64, y: float64, z: float64, w: float64) -> None:
1637
+ """Construct a quaternion from its component values."""
1638
+ ...
1639
+
1640
+ @over
1641
+ def __init__(self, args: Sequence[float64]) -> None:
1642
+ """Construct a quaternion from a sequence of values."""
1643
+ ...
1644
+
1645
+ @over
1646
+ def __init__(self, value: float64) -> None:
1647
+ """Construct a quaternion filled with a value."""
1648
+ ...
1649
+
1650
+ quat = quatf
1651
+
1652
+ class transformh:
1653
+ @over
1654
+ def __init__(self) -> None:
1655
+ """Construct a zero-initialized transformation."""
1656
+ ...
1657
+
1658
+ @over
1659
+ def __init__(self, other: transformh) -> None:
1660
+ """Construct a transformation by copy."""
1661
+ ...
1662
+
1663
+ @over
1664
+ def __init__(self, p: vec3h, q: quath) -> None:
1665
+ """Construct a transformation from its p and q components."""
1666
+ ...
1667
+
1668
+ @over
1669
+ def __init__(
1670
+ self, px: float16, py: float16, pz: float16, qx: float16, qy: float16, qz: float16, qw: float16
1671
+ ) -> None:
1672
+ """Construct a transformation from its component values."""
1673
+ ...
1674
+
1675
+ @over
1676
+ def __init__(self, p: Sequence[float16], q: Sequence[float16]) -> None:
1677
+ """Construct a transformation from two sequences of values."""
1678
+ ...
1679
+
1680
+ @over
1681
+ def __init__(self, value: float16) -> None:
1682
+ """Construct a transformation filled with a value."""
1683
+ ...
1684
+
1685
+ class transformf:
1686
+ @over
1687
+ def __init__(self) -> None:
1688
+ """Construct a zero-initialized transformation."""
1689
+ ...
1690
+
1691
+ @over
1692
+ def __init__(self, other: transformf) -> None:
1693
+ """Construct a transformation by copy."""
1694
+ ...
1695
+
1696
+ @over
1697
+ def __init__(self, p: vec3f, q: quatf) -> None:
1698
+ """Construct a transformation from its p and q components."""
1699
+ ...
1700
+
1701
+ @over
1702
+ def __init__(
1703
+ self, px: float32, py: float32, pz: float32, qx: float32, qy: float32, qz: float32, qw: float32
1704
+ ) -> None:
1705
+ """Construct a transformation from its component values."""
1706
+ ...
1707
+
1708
+ @over
1709
+ def __init__(self, p: Sequence[float32], q: Sequence[float32]) -> None:
1710
+ """Construct a transformation from two sequences of values."""
1711
+ ...
1712
+
1713
+ @over
1714
+ def __init__(self, value: float32) -> None:
1715
+ """Construct a transformation filled with a value."""
1716
+ ...
1717
+
1718
+ class transformd:
1719
+ @over
1720
+ def __init__(self) -> None:
1721
+ """Construct a zero-initialized transformation."""
1722
+ ...
1723
+
1724
+ @over
1725
+ def __init__(self, other: transformd) -> None:
1726
+ """Construct a transformation by copy."""
1727
+ ...
1728
+
1729
+ @over
1730
+ def __init__(self, p: vec3d, q: quatd) -> None:
1731
+ """Construct a transformation from its p and q components."""
1732
+ ...
1733
+
1734
+ @over
1735
+ def __init__(
1736
+ self, px: float64, py: float64, pz: float64, qx: float64, qy: float64, qz: float64, qw: float64
1737
+ ) -> None:
1738
+ """Construct a transformation from its component values."""
1739
+ ...
1740
+
1741
+ @over
1742
+ def __init__(self, p: Sequence[float64], q: Sequence[float64]) -> None:
1743
+ """Construct a transformation from two sequences of values."""
1744
+ ...
1745
+
1746
+ @over
1747
+ def __init__(self, value: float64) -> None:
1748
+ """Construct a transformation filled with a value."""
1749
+ ...
1750
+
1751
+ transform = transformf
1752
+
335
1753
  @over
336
1754
  def min(a: Scalar, b: Scalar) -> Scalar:
337
1755
  """Return the minimum of two scalars."""
@@ -1923,7 +3341,7 @@ def mesh_query_ray(id: uint64, start: vec3f, dir: vec3f, max_t: float32) -> Mesh
1923
3341
  def mesh_query_aabb(id: uint64, low: vec3f, high: vec3f) -> MeshQueryAABB:
1924
3342
  """Construct an axis-aligned bounding box query against a :class:`Mesh`.
1925
3343
 
1926
- This query can be used to iterate over all triangles inside a volume.
3344
+ This query can be used to iterate over all bounding boxes of the triangles inside a volume.
1927
3345
 
1928
3346
  :param id: The mesh identifier
1929
3347
  :param low: The lower bound of the bounding box in mesh space
@@ -1933,7 +3351,7 @@ def mesh_query_aabb(id: uint64, low: vec3f, high: vec3f) -> MeshQueryAABB:
1933
3351
 
1934
3352
  @over
1935
3353
  def mesh_query_aabb_next(query: MeshQueryAABB, index: int32) -> bool:
1936
- """Move to the next triangle overlapping the query bounding box.
3354
+ """Move to the next triangle whose bounding box overlaps the query bounding box.
1937
3355
 
1938
3356
  The index of the current face is stored in ``index``, returns ``False`` if there are no more overlapping triangles.
1939
3357
  """