@adatechnology/game-destruction-three 0.24.3 → 0.24.4
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/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.global.js
CHANGED
|
@@ -15747,7 +15747,7 @@ vec3 c=mix(uDeep,uFoam,dome>.5?.8:.65+.35*vY);float alpha=body*vA;if(alpha<.004)
|
|
|
15747
15747
|
if ((kind === "dust" || kind === "chips") && def?.visual?.innerColor !== void 0) return { color: def.visual.innerColor };
|
|
15748
15748
|
if (kind === "fibers" || kind === "leaves") {
|
|
15749
15749
|
if (def?.visual?.innerColor !== void 0) return { color: def.visual.innerColor };
|
|
15750
|
-
const c = pv ? this.visuals.baseColorHex(pv.meshes[0]
|
|
15750
|
+
const c = pv && pv.meshes[0] ? this.visuals.baseColorHex(pv.meshes[0]) : -1;
|
|
15751
15751
|
return c >= 0 ? { color: c } : void 0;
|
|
15752
15752
|
}
|
|
15753
15753
|
if (kind === "dust" || kind === "chips") {
|