Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 1, 2023
1 parent 09456ae commit 04c31d0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
9 changes: 3 additions & 6 deletions dist/xeokit-sdk.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16786,7 +16786,7 @@ class VBOSceneModelRenderer {

if (this._aColor) {
this._aColor.bindArrayBuffer(state.colorsBuf ? state.colorsBuf : state.colorsBuf);
if (this._instancing && state.geometry && state.colorsBuf) {
if (this._instancing && state.colorsBuf) {
gl.vertexAttribDivisor(this._aColor.location, 1);
}
}
Expand Down Expand Up @@ -16839,7 +16839,7 @@ class VBOSceneModelRenderer {
const scene = this._scene;
const gl = scene.canvas.gl;
const {_state: state, model} = layer;
const {textureSet, geometry, origin, positionsDecodeMatrix} = state;
const {textureSet, origin, positionsDecodeMatrix} = state;
const lightsState = scene._lightsState;
const pointsMaterial = scene.pointsMaterial;
const {camera} = model.scene;
Expand Down Expand Up @@ -17022,7 +17022,7 @@ class VBOSceneModelRenderer {
}
}

this._draw({geometry, state, frameCtx, incrementDrawState});
this._draw({ state, frameCtx, incrementDrawState});

gl.bindVertexArray(null);
}
Expand Down Expand Up @@ -17087,7 +17087,6 @@ class VBOSceneModelTriangleInstancingRenderer extends VBOSceneModelRenderer {
const {
state,
frameCtx,
geometry,
incrementDrawState,
} = drawCfg;

Expand Down Expand Up @@ -17137,7 +17136,6 @@ class VBOSceneModelPointInstancingRenderer extends VBOSceneModelRenderer {
const {
state,
frameCtx,
geometry,
incrementDrawState,
} = drawCfg;

Expand Down Expand Up @@ -17177,7 +17175,6 @@ class VBOSceneModelLineInstancingRenderer extends VBOSceneModelRenderer {

const {
state,
geometry,
frameCtx,
incrementDrawState,
} = drawCfg;
Expand Down
9 changes: 3 additions & 6 deletions dist/xeokit-sdk.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -16782,7 +16782,7 @@ class VBOSceneModelRenderer {

if (this._aColor) {
this._aColor.bindArrayBuffer(state.colorsBuf ? state.colorsBuf : state.colorsBuf);
if (this._instancing && state.geometry && state.colorsBuf) {
if (this._instancing && state.colorsBuf) {
gl.vertexAttribDivisor(this._aColor.location, 1);
}
}
Expand Down Expand Up @@ -16835,7 +16835,7 @@ class VBOSceneModelRenderer {
const scene = this._scene;
const gl = scene.canvas.gl;
const {_state: state, model} = layer;
const {textureSet, geometry, origin, positionsDecodeMatrix} = state;
const {textureSet, origin, positionsDecodeMatrix} = state;
const lightsState = scene._lightsState;
const pointsMaterial = scene.pointsMaterial;
const {camera} = model.scene;
Expand Down Expand Up @@ -17018,7 +17018,7 @@ class VBOSceneModelRenderer {
}
}

this._draw({geometry, state, frameCtx, incrementDrawState});
this._draw({ state, frameCtx, incrementDrawState});

gl.bindVertexArray(null);
}
Expand Down Expand Up @@ -17083,7 +17083,6 @@ class VBOSceneModelTriangleInstancingRenderer extends VBOSceneModelRenderer {
const {
state,
frameCtx,
geometry,
incrementDrawState,
} = drawCfg;

Expand Down Expand Up @@ -17133,7 +17132,6 @@ class VBOSceneModelPointInstancingRenderer extends VBOSceneModelRenderer {
const {
state,
frameCtx,
geometry,
incrementDrawState,
} = drawCfg;

Expand Down Expand Up @@ -17173,7 +17171,6 @@ class VBOSceneModelLineInstancingRenderer extends VBOSceneModelRenderer {

const {
state,
geometry,
frameCtx,
incrementDrawState,
} = drawCfg;
Expand Down
4 changes: 2 additions & 2 deletions dist/xeokit-sdk.es5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es5.js

Large diffs are not rendered by default.

0 comments on commit 04c31d0

Please sign in to comment.