@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.
@@ -42444,7 +42444,7 @@ else if (typeof exports === 'object')
42444
42444
  }
42445
42445
  }
42446
42446
 
42447
- const version = "1.0.51";
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, partialPositionData, false, minRow, rowCount);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rings-webgpu/core",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "Rings webgpu Engine",
5
5
  "main": "index.js",
6
6
  "exports": {