@viji-dev/core 0.3.0 → 0.3.1
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.
- package/dist/assets/{viji.worker-b3XR7zKX.js → viji.worker-Be0jZvYj.js} +185 -9
- package/dist/assets/viji.worker-Be0jZvYj.js.map +1 -0
- package/dist/{essentia-wasm.web-CO8uMw0d.js → essentia-wasm.web-D7gmeaO3.js} +2 -2
- package/dist/{essentia-wasm.web-CO8uMw0d.js.map → essentia-wasm.web-D7gmeaO3.js.map} +1 -1
- package/dist/{index-BdLMCFEN.js → index-BV1S8Ps-.js} +3 -3
- package/dist/{index-BdLMCFEN.js.map → index-BV1S8Ps-.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/shader-uniforms.js +240 -0
- package/package.json +1 -1
- package/dist/assets/viji.worker-b3XR7zKX.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/shader-uniforms.js
CHANGED
|
@@ -464,6 +464,246 @@ export const shaderUniforms = {
|
|
|
464
464
|
"category": "CV",
|
|
465
465
|
"description": "Segmentation mask resolution in pixels"
|
|
466
466
|
},
|
|
467
|
+
"u_deviceAcceleration": {
|
|
468
|
+
"type": "vec3",
|
|
469
|
+
"category": "Device Sensors",
|
|
470
|
+
"description": "Acceleration without gravity (m/s²) - x, y, z"
|
|
471
|
+
},
|
|
472
|
+
"u_deviceAccelerationGravity": {
|
|
473
|
+
"type": "vec3",
|
|
474
|
+
"category": "Device Sensors",
|
|
475
|
+
"description": "Acceleration with gravity (m/s²) - x, y, z"
|
|
476
|
+
},
|
|
477
|
+
"u_deviceRotationRate": {
|
|
478
|
+
"type": "vec3",
|
|
479
|
+
"category": "Device Sensors",
|
|
480
|
+
"description": "Rotation rate (deg/s) - alpha, beta, gamma"
|
|
481
|
+
},
|
|
482
|
+
"u_deviceOrientation": {
|
|
483
|
+
"type": "vec3",
|
|
484
|
+
"category": "Device Sensors",
|
|
485
|
+
"description": "Device orientation (degrees) - alpha, beta, gamma"
|
|
486
|
+
},
|
|
487
|
+
"u_deviceOrientationAbsolute": {
|
|
488
|
+
"type": "bool",
|
|
489
|
+
"category": "Device Sensors",
|
|
490
|
+
"description": "True if orientation uses magnetometer (compass)"
|
|
491
|
+
},
|
|
492
|
+
"u_deviceLocation": {
|
|
493
|
+
"type": "vec2",
|
|
494
|
+
"category": "Device Sensors",
|
|
495
|
+
"description": "Geolocation (degrees) - latitude, longitude"
|
|
496
|
+
},
|
|
497
|
+
"u_deviceLocationExt": {
|
|
498
|
+
"type": "vec4",
|
|
499
|
+
"category": "Device Sensors",
|
|
500
|
+
"description": "Extended geolocation - altitude(m), accuracy(m), heading(deg), speed(m/s)"
|
|
501
|
+
},
|
|
502
|
+
"u_externalDeviceCount": {
|
|
503
|
+
"type": "int",
|
|
504
|
+
"category": "Device Sensors",
|
|
505
|
+
"description": "Number of connected external devices (0-8)"
|
|
506
|
+
},
|
|
507
|
+
"u_device0Acceleration": {
|
|
508
|
+
"type": "vec3",
|
|
509
|
+
"category": "Device Sensors",
|
|
510
|
+
"description": "Device 0 acceleration without gravity (m/s²)"
|
|
511
|
+
},
|
|
512
|
+
"u_device0AccelerationGravity": {
|
|
513
|
+
"type": "vec3",
|
|
514
|
+
"category": "Device Sensors",
|
|
515
|
+
"description": "Device 0 acceleration with gravity (m/s²)"
|
|
516
|
+
},
|
|
517
|
+
"u_device0RotationRate": {
|
|
518
|
+
"type": "vec3",
|
|
519
|
+
"category": "Device Sensors",
|
|
520
|
+
"description": "Device 0 rotation rate (deg/s)"
|
|
521
|
+
},
|
|
522
|
+
"u_device0Orientation": {
|
|
523
|
+
"type": "vec3",
|
|
524
|
+
"category": "Device Sensors",
|
|
525
|
+
"description": "Device 0 orientation (degrees) - alpha, beta, gamma"
|
|
526
|
+
},
|
|
527
|
+
"u_device0Location": {
|
|
528
|
+
"type": "vec2",
|
|
529
|
+
"category": "Device Sensors",
|
|
530
|
+
"description": "Device 0 location - latitude, longitude"
|
|
531
|
+
},
|
|
532
|
+
"u_device1Acceleration": {
|
|
533
|
+
"type": "vec3",
|
|
534
|
+
"category": "Device Sensors",
|
|
535
|
+
"description": "Device 1 acceleration without gravity (m/s²)"
|
|
536
|
+
},
|
|
537
|
+
"u_device1AccelerationGravity": {
|
|
538
|
+
"type": "vec3",
|
|
539
|
+
"category": "Device Sensors",
|
|
540
|
+
"description": "Device 1 acceleration with gravity (m/s²)"
|
|
541
|
+
},
|
|
542
|
+
"u_device1RotationRate": {
|
|
543
|
+
"type": "vec3",
|
|
544
|
+
"category": "Device Sensors",
|
|
545
|
+
"description": "Device 1 rotation rate (deg/s)"
|
|
546
|
+
},
|
|
547
|
+
"u_device1Orientation": {
|
|
548
|
+
"type": "vec3",
|
|
549
|
+
"category": "Device Sensors",
|
|
550
|
+
"description": "Device 1 orientation (degrees) - alpha, beta, gamma"
|
|
551
|
+
},
|
|
552
|
+
"u_device1Location": {
|
|
553
|
+
"type": "vec2",
|
|
554
|
+
"category": "Device Sensors",
|
|
555
|
+
"description": "Device 1 location - latitude, longitude"
|
|
556
|
+
},
|
|
557
|
+
"u_device2Acceleration": {
|
|
558
|
+
"type": "vec3",
|
|
559
|
+
"category": "Device Sensors",
|
|
560
|
+
"description": "Device 2 acceleration without gravity (m/s²)"
|
|
561
|
+
},
|
|
562
|
+
"u_device2AccelerationGravity": {
|
|
563
|
+
"type": "vec3",
|
|
564
|
+
"category": "Device Sensors",
|
|
565
|
+
"description": "Device 2 acceleration with gravity (m/s²)"
|
|
566
|
+
},
|
|
567
|
+
"u_device2RotationRate": {
|
|
568
|
+
"type": "vec3",
|
|
569
|
+
"category": "Device Sensors",
|
|
570
|
+
"description": "Device 2 rotation rate (deg/s)"
|
|
571
|
+
},
|
|
572
|
+
"u_device2Orientation": {
|
|
573
|
+
"type": "vec3",
|
|
574
|
+
"category": "Device Sensors",
|
|
575
|
+
"description": "Device 2 orientation (degrees) - alpha, beta, gamma"
|
|
576
|
+
},
|
|
577
|
+
"u_device2Location": {
|
|
578
|
+
"type": "vec2",
|
|
579
|
+
"category": "Device Sensors",
|
|
580
|
+
"description": "Device 2 location - latitude, longitude"
|
|
581
|
+
},
|
|
582
|
+
"u_device3Acceleration": {
|
|
583
|
+
"type": "vec3",
|
|
584
|
+
"category": "Device Sensors",
|
|
585
|
+
"description": "Device 3 acceleration without gravity (m/s²)"
|
|
586
|
+
},
|
|
587
|
+
"u_device3AccelerationGravity": {
|
|
588
|
+
"type": "vec3",
|
|
589
|
+
"category": "Device Sensors",
|
|
590
|
+
"description": "Device 3 acceleration with gravity (m/s²)"
|
|
591
|
+
},
|
|
592
|
+
"u_device3RotationRate": {
|
|
593
|
+
"type": "vec3",
|
|
594
|
+
"category": "Device Sensors",
|
|
595
|
+
"description": "Device 3 rotation rate (deg/s)"
|
|
596
|
+
},
|
|
597
|
+
"u_device3Orientation": {
|
|
598
|
+
"type": "vec3",
|
|
599
|
+
"category": "Device Sensors",
|
|
600
|
+
"description": "Device 3 orientation (degrees) - alpha, beta, gamma"
|
|
601
|
+
},
|
|
602
|
+
"u_device3Location": {
|
|
603
|
+
"type": "vec2",
|
|
604
|
+
"category": "Device Sensors",
|
|
605
|
+
"description": "Device 3 location - latitude, longitude"
|
|
606
|
+
},
|
|
607
|
+
"u_device4Acceleration": {
|
|
608
|
+
"type": "vec3",
|
|
609
|
+
"category": "Device Sensors",
|
|
610
|
+
"description": "Device 4 acceleration without gravity (m/s²)"
|
|
611
|
+
},
|
|
612
|
+
"u_device4AccelerationGravity": {
|
|
613
|
+
"type": "vec3",
|
|
614
|
+
"category": "Device Sensors",
|
|
615
|
+
"description": "Device 4 acceleration with gravity (m/s²)"
|
|
616
|
+
},
|
|
617
|
+
"u_device4RotationRate": {
|
|
618
|
+
"type": "vec3",
|
|
619
|
+
"category": "Device Sensors",
|
|
620
|
+
"description": "Device 4 rotation rate (deg/s)"
|
|
621
|
+
},
|
|
622
|
+
"u_device4Orientation": {
|
|
623
|
+
"type": "vec3",
|
|
624
|
+
"category": "Device Sensors",
|
|
625
|
+
"description": "Device 4 orientation (degrees) - alpha, beta, gamma"
|
|
626
|
+
},
|
|
627
|
+
"u_device4Location": {
|
|
628
|
+
"type": "vec2",
|
|
629
|
+
"category": "Device Sensors",
|
|
630
|
+
"description": "Device 4 location - latitude, longitude"
|
|
631
|
+
},
|
|
632
|
+
"u_device5Acceleration": {
|
|
633
|
+
"type": "vec3",
|
|
634
|
+
"category": "Device Sensors",
|
|
635
|
+
"description": "Device 5 acceleration without gravity (m/s²)"
|
|
636
|
+
},
|
|
637
|
+
"u_device5AccelerationGravity": {
|
|
638
|
+
"type": "vec3",
|
|
639
|
+
"category": "Device Sensors",
|
|
640
|
+
"description": "Device 5 acceleration with gravity (m/s²)"
|
|
641
|
+
},
|
|
642
|
+
"u_device5RotationRate": {
|
|
643
|
+
"type": "vec3",
|
|
644
|
+
"category": "Device Sensors",
|
|
645
|
+
"description": "Device 5 rotation rate (deg/s)"
|
|
646
|
+
},
|
|
647
|
+
"u_device5Orientation": {
|
|
648
|
+
"type": "vec3",
|
|
649
|
+
"category": "Device Sensors",
|
|
650
|
+
"description": "Device 5 orientation (degrees) - alpha, beta, gamma"
|
|
651
|
+
},
|
|
652
|
+
"u_device5Location": {
|
|
653
|
+
"type": "vec2",
|
|
654
|
+
"category": "Device Sensors",
|
|
655
|
+
"description": "Device 5 location - latitude, longitude"
|
|
656
|
+
},
|
|
657
|
+
"u_device6Acceleration": {
|
|
658
|
+
"type": "vec3",
|
|
659
|
+
"category": "Device Sensors",
|
|
660
|
+
"description": "Device 6 acceleration without gravity (m/s²)"
|
|
661
|
+
},
|
|
662
|
+
"u_device6AccelerationGravity": {
|
|
663
|
+
"type": "vec3",
|
|
664
|
+
"category": "Device Sensors",
|
|
665
|
+
"description": "Device 6 acceleration with gravity (m/s²)"
|
|
666
|
+
},
|
|
667
|
+
"u_device6RotationRate": {
|
|
668
|
+
"type": "vec3",
|
|
669
|
+
"category": "Device Sensors",
|
|
670
|
+
"description": "Device 6 rotation rate (deg/s)"
|
|
671
|
+
},
|
|
672
|
+
"u_device6Orientation": {
|
|
673
|
+
"type": "vec3",
|
|
674
|
+
"category": "Device Sensors",
|
|
675
|
+
"description": "Device 6 orientation (degrees) - alpha, beta, gamma"
|
|
676
|
+
},
|
|
677
|
+
"u_device6Location": {
|
|
678
|
+
"type": "vec2",
|
|
679
|
+
"category": "Device Sensors",
|
|
680
|
+
"description": "Device 6 location - latitude, longitude"
|
|
681
|
+
},
|
|
682
|
+
"u_device7Acceleration": {
|
|
683
|
+
"type": "vec3",
|
|
684
|
+
"category": "Device Sensors",
|
|
685
|
+
"description": "Device 7 acceleration without gravity (m/s²)"
|
|
686
|
+
},
|
|
687
|
+
"u_device7AccelerationGravity": {
|
|
688
|
+
"type": "vec3",
|
|
689
|
+
"category": "Device Sensors",
|
|
690
|
+
"description": "Device 7 acceleration with gravity (m/s²)"
|
|
691
|
+
},
|
|
692
|
+
"u_device7RotationRate": {
|
|
693
|
+
"type": "vec3",
|
|
694
|
+
"category": "Device Sensors",
|
|
695
|
+
"description": "Device 7 rotation rate (deg/s)"
|
|
696
|
+
},
|
|
697
|
+
"u_device7Orientation": {
|
|
698
|
+
"type": "vec3",
|
|
699
|
+
"category": "Device Sensors",
|
|
700
|
+
"description": "Device 7 orientation (degrees) - alpha, beta, gamma"
|
|
701
|
+
},
|
|
702
|
+
"u_device7Location": {
|
|
703
|
+
"type": "vec2",
|
|
704
|
+
"category": "Device Sensors",
|
|
705
|
+
"description": "Device 7 location - latitude, longitude"
|
|
706
|
+
},
|
|
467
707
|
"backbuffer": {
|
|
468
708
|
"type": "sampler2D",
|
|
469
709
|
"category": "Backbuffer",
|