@displayxr/inline3d 1.12.0 → 1.13.0
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/CHANGELOG.md +55 -0
- package/README.md +11 -0
- package/THIRD_PARTY_NOTICES.md +76 -0
- package/js/inline3d-playcanvas-engine.js +5 -0
- package/js/inline3d-splat-effects.js +1116 -0
- package/js/inline3d-splat-perf.js +3 -0
- package/js/inline3d-splat-playcanvas.js +517 -82
- package/js/inline3d-splat-shared.js +33 -0
- package/js/inline3d-splat.js +28 -0
- package/package.json +4 -2
- package/splat.d.ts +152 -5
|
@@ -470,6 +470,9 @@ const PC_CLIP_ANCHOR = /float\s+clip\s*=\s*min\(\s*1\.0\s*,/;
|
|
|
470
470
|
* profile squashed. Returns the source unchanged (and `ok:false`) when the anchor is missing;
|
|
471
471
|
* the caller warns once and renders at the engine's own extent.
|
|
472
472
|
*
|
|
473
|
+
* The rewritten line is adapted from PlayCanvas engine src/scene/shader-lib/glsl/chunks/gsplat/vert/
|
|
474
|
+
* gsplatCommon.js (the `gsplatCommonVS` chunk's clipCorner) @ v2.22.3, MIT (THIRD_PARTY_NOTICES.md).
|
|
475
|
+
*
|
|
473
476
|
* @param {string} src the current `gsplatCommonVS` chunk.
|
|
474
477
|
* @param {number} k in (0, 1).
|
|
475
478
|
* @returns {{src:string, ok:boolean}}
|