@xeokit/xeokit-sdk 2.3.0-beta-14 → 2.3.0-beta-15

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.
@@ -163374,7 +163374,7 @@ class CityJSONLoaderPlugin extends Plugin {
163374
163374
 
163375
163375
  _parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds) {
163376
163376
 
163377
- ctx.performanceModel;
163377
+ const sceneModel = ctx.sceneModel;
163378
163378
  const sharedIndices = [];
163379
163379
  const geometryCfg = {
163380
163380
  positions: [],
@@ -163420,7 +163420,7 @@ class CityJSONLoaderPlugin extends Plugin {
163420
163420
 
163421
163421
  const meshId = "" + ctx.nextId++;
163422
163422
 
163423
- performanceModel.createMesh({
163423
+ sceneModel.createMesh({
163424
163424
  id: meshId,
163425
163425
  primitive: "triangles",
163426
163426
  positions: geometryCfg.positions,
@@ -163370,7 +163370,7 @@ class CityJSONLoaderPlugin extends Plugin {
163370
163370
 
163371
163371
  _parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds) {
163372
163372
 
163373
- ctx.performanceModel;
163373
+ const sceneModel = ctx.sceneModel;
163374
163374
  const sharedIndices = [];
163375
163375
  const geometryCfg = {
163376
163376
  positions: [],
@@ -163416,7 +163416,7 @@ class CityJSONLoaderPlugin extends Plugin {
163416
163416
 
163417
163417
  const meshId = "" + ctx.nextId++;
163418
163418
 
163419
- performanceModel.createMesh({
163419
+ sceneModel.createMesh({
163420
163420
  id: meshId,
163421
163421
  primitive: "triangles",
163422
163422
  positions: geometryCfg.positions,