@adatechnology/game-weather-three 0.6.11 → 0.6.13
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 +11 -0
- package/dist/index.global.js.map +1 -1
- package/package.json +6 -6
package/dist/index.global.js
CHANGED
|
@@ -835,6 +835,9 @@ void main() {
|
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
// ../game-vfx/dist/index.js
|
|
838
|
+
var __defProp2 = Object.defineProperty;
|
|
839
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
840
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
838
841
|
var BYTE_MAX = 255;
|
|
839
842
|
var SRGB_LINEAR_SLOPE = 0.0773993808;
|
|
840
843
|
var SRGB_THRESHOLD = 0.04045;
|
|
@@ -865,6 +868,14 @@ void main() {
|
|
|
865
868
|
function createVec3(x = 0, y = 0, z = 0) {
|
|
866
869
|
return { x, y, z };
|
|
867
870
|
}
|
|
871
|
+
var WrittenWay = class {
|
|
872
|
+
constructor() {
|
|
873
|
+
__publicField(this, "x", 0.5);
|
|
874
|
+
__publicField(this, "y", 0.5);
|
|
875
|
+
__publicField(this, "z", 0.5);
|
|
876
|
+
}
|
|
877
|
+
};
|
|
878
|
+
var WAY = new WrittenWay();
|
|
868
879
|
var call = (name) => (...args) => ({ $: name, a: args });
|
|
869
880
|
var rnd = call("rnd");
|
|
870
881
|
var rand = call("rand");
|