@rings-webgpu/core 1.0.51 → 1.0.52
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/rings.es.js +2 -2
- package/dist/rings.es.js.map +3 -3
- package/dist/rings.es.max.js +2 -8
- package/dist/rings.umd.js +41 -41
- package/dist/rings.umd.js.map +3 -3
- package/dist/rings.umd.max.js +2 -8
- package/package.json +1 -1
package/dist/rings.umd.max.js
CHANGED
|
@@ -42444,7 +42444,7 @@ else if (typeof exports === 'object')
|
|
|
42444
42444
|
}
|
|
42445
42445
|
}
|
|
42446
42446
|
|
|
42447
|
-
const version = "1.0.
|
|
42447
|
+
const version = "1.0.52";
|
|
42448
42448
|
|
|
42449
42449
|
class Engine3D {
|
|
42450
42450
|
/**
|
|
@@ -55973,14 +55973,8 @@ fn frag(){
|
|
|
55973
55973
|
}
|
|
55974
55974
|
}
|
|
55975
55975
|
if (updateRatio < 0.5 && rowCount < h) {
|
|
55976
|
-
const rowStartIdx = minRow * w;
|
|
55977
|
-
const rowEndIdx = (maxRow + 1) * w;
|
|
55978
|
-
const partialPositionData = this._positionData.subarray(
|
|
55979
|
-
rowStartIdx * 4,
|
|
55980
|
-
rowEndIdx * 4
|
|
55981
|
-
);
|
|
55982
55976
|
this.pointColor.updateTexture(w, h, this._colorData, minRow, rowCount);
|
|
55983
|
-
this.pointPosition.updateTexture(w, h,
|
|
55977
|
+
this.pointPosition.updateTexture(w, h, this._positionData, false, minRow, rowCount);
|
|
55984
55978
|
} else {
|
|
55985
55979
|
this.pointColor.updateTexture(w, h, this._colorData);
|
|
55986
55980
|
this.pointPosition.updateTexture(w, h, this._positionData, false);
|