@galacean/engine-core 1.0.0-beta.6 → 1.0.0-beta.7

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/main.js CHANGED
@@ -15210,7 +15210,7 @@ var Basic2DBatcher = /*#__PURE__*/ function() {
15210
15210
  // vertices
15211
15211
  this._vertexBuffers[index] = new Buffer(engine, exports.BufferBindFlag.VertexBuffer, MAX_VERTEX_COUNT * 4 * vertexStride, exports.BufferUsage.Dynamic);
15212
15212
  // indices
15213
- this._indiceBuffers[index] = new Buffer(engine, exports.BufferBindFlag.IndexBuffer, MAX_VERTEX_COUNT * 3, exports.BufferUsage.Dynamic);
15213
+ this._indiceBuffers[index] = new Buffer(engine, exports.BufferBindFlag.IndexBuffer, MAX_VERTEX_COUNT * 2 * 3, exports.BufferUsage.Dynamic);
15214
15214
  mesh.setVertexBufferBinding(this._vertexBuffers[index], vertexStride);
15215
15215
  mesh.setIndexBufferBinding(this._indiceBuffers[index], exports.IndexFormat.UInt16);
15216
15216
  mesh.setVertexElements(vertexElements);
@@ -18329,7 +18329,7 @@ var /**
18329
18329
  CascadedShadowCasterPass._cascadesSplitDistance = new Array(CascadedShadowCasterPass._maxCascades + 1);
18330
18330
  })();
18331
18331
  (function() {
18332
- CascadedShadowCasterPass._viewport = new engineMath.Color(0, 0, 1, 1);
18332
+ CascadedShadowCasterPass._viewport = new engineMath.Vector4(0, 0, 1, 1);
18333
18333
  })();
18334
18334
  (function() {
18335
18335
  CascadedShadowCasterPass._clearColor = new engineMath.Color(1, 1, 1, 1);