We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c000b commit eeb9221Copy full SHA for eeb9221
src/components/crystal-toolkit/scene/Scene.ts
@@ -400,8 +400,8 @@ export default class Scene {
400
private debugDOMElement?,
401
cameraState?: CameraState
402
) {
403
- this.tiling = tiling;
404
- this.maxTiling = maxTiling;
+ this.tiling = tiling || 0;
+ this.maxTiling = maxTiling || [0, 0, 0];
405
this.arrayOfTileRoots = Scene.getEmptyTilesArray([
406
this.maxTiling,
407
0 commit comments