@galacean/engine-physics-lite 0.9.8 → 0.9.9

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.
@@ -11487,6 +11487,7 @@ var MeshModifyFlags;
11487
11487
  var subDataDirtyFlags = this._subDataDirtyFlags;
11488
11488
  var blendShapeFloatStride = this._vertexElementCount * 3;
11489
11489
  var blendShapeByteStride = blendShapeFloatStride * 4;
11490
+ var bufferOffset = this._bufferBindingOffset;
11490
11491
  // @todo: should fix bug when dataChangedFlag is true
11491
11492
  for(var i = 0, n = blendShapes.length; i < n; i++){
11492
11493
  var dataChangedFlag = subDataDirtyFlags[i];
@@ -11504,7 +11505,7 @@ var MeshModifyFlags;
11504
11505
  var offset = indexInBuffer * blendShapeFloatStride;
11505
11506
  var storeInfo = storeInfos[i];
11506
11507
  storeInfo || (storeInfos[i] = storeInfo = new miniprogram$7.Vector2());
11507
- storeInfo.set(bufferIndex + 1, indexInBuffer * blendShapeByteStride); // BlendShape buffer is start from 1
11508
+ storeInfo.set(bufferOffset + bufferIndex, indexInBuffer * blendShapeByteStride); // BufferOffset is mesh vertexBuffer offset
11508
11509
  var deltaPositions = endFrame.deltaPositions;
11509
11510
  for(var j = 0; j < vertexCount; j++){
11510
11511
  var start = offset + bufferFloatStride * j;
@@ -35860,7 +35861,7 @@ function _interopNamespace(e) {
35860
35861
  }
35861
35862
  var CoreObjects__namespace = /*#__PURE__*/ _interopNamespace(CoreObjects);
35862
35863
  //@ts-ignore
35863
- var version = "0.9.8";
35864
+ var version = "0.9.9";
35864
35865
  console.log("Galacean engine version: " + version);
35865
35866
  for(var key in CoreObjects__namespace){
35866
35867
  CoreObjects.Loader.registerClass(key, CoreObjects__namespace[key]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-physics-lite",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -22,11 +22,11 @@
22
22
  "types/**/*"
23
23
  ],
24
24
  "devDependencies": {
25
- "@galacean/engine-design": "0.9.8",
26
- "@galacean/engine": "0.9.8"
25
+ "@galacean/engine-design": "0.9.9",
26
+ "@galacean/engine": "0.9.9"
27
27
  },
28
28
  "peerDependencies": {
29
- "@galacean/engine": "0.9.8"
29
+ "@galacean/engine": "0.9.9"
30
30
  },
31
31
  "scripts": {
32
32
  "b:types": "tsc"