@xeokit/xeokit-sdk 2.4.2-beta-45 → 2.4.2-beta-46
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/xeokit-sdk.cjs.js +10 -5
- package/dist/xeokit-sdk.es.js +10 -5
- package/dist/xeokit-sdk.es5.js +5 -5
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/dist/xeokit-sdk.min.es5.js +1 -1
- package/package.json +1 -1
- package/src/viewer/scene/mesh/emphasis/EmphasisEdgesShaderSource.js +2 -1
- package/src/viewer/scene/mesh/emphasis/EmphasisFillShaderSource.js +2 -1
- package/src/viewer/scene/mesh/occlusion/OcclusionShaderSource.js +2 -1
- package/src/viewer/scene/mesh/pick/PickMeshShaderSource.js +2 -1
- package/src/viewer/scene/mesh/pick/PickTriangleShaderSource.js +2 -1
package/package.json
CHANGED
|
@@ -12,7 +12,8 @@ class EmphasisEdgesShaderSource {
|
|
|
12
12
|
|
|
13
13
|
function buildVertex(mesh) {
|
|
14
14
|
const scene = mesh.scene;
|
|
15
|
-
const
|
|
15
|
+
const sectionPlanesState = scene._sectionPlanesState;
|
|
16
|
+
const clipping = sectionPlanesState.getNumAllocatedSectionPlanes() > 0;
|
|
16
17
|
const quantizedGeometry = !!mesh._geometry._state.compressGeometry;
|
|
17
18
|
const billboard = mesh._state.billboard;
|
|
18
19
|
const stationary = mesh._state.stationary;
|
|
@@ -15,7 +15,8 @@ function buildVertex(mesh) {
|
|
|
15
15
|
const scene = mesh.scene;
|
|
16
16
|
const lightsState = scene._lightsState;
|
|
17
17
|
const normals = hasNormals(mesh);
|
|
18
|
-
const
|
|
18
|
+
const sectionPlanesState = scene._sectionPlanesState;
|
|
19
|
+
const clipping = sectionPlanesState.getNumAllocatedSectionPlanes() > 0;
|
|
19
20
|
const quantizedGeometry = !!mesh._geometry._state.compressGeometry;
|
|
20
21
|
const billboard = mesh._state.billboard;
|
|
21
22
|
const stationary = mesh._state.stationary;
|
|
@@ -16,7 +16,8 @@ class OcclusionShaderSource {
|
|
|
16
16
|
|
|
17
17
|
function buildVertex(mesh) {
|
|
18
18
|
const scene = mesh.scene;
|
|
19
|
-
const
|
|
19
|
+
const sectionPlanesState = scene._sectionPlanesState;
|
|
20
|
+
const clipping = sectionPlanesState.getNumAllocatedSectionPlanes() > 0;
|
|
20
21
|
const quantizedGeometry = !!mesh._geometry._state.compressGeometry;
|
|
21
22
|
const billboard = mesh._state.billboard;
|
|
22
23
|
const stationary = mesh._state.stationary;
|
|
@@ -14,7 +14,8 @@ class PickMeshShaderSource {
|
|
|
14
14
|
|
|
15
15
|
function buildVertex(mesh) {
|
|
16
16
|
const scene = mesh.scene;
|
|
17
|
-
const
|
|
17
|
+
const sectionPlanesState = scene._sectionPlanesState;
|
|
18
|
+
const clipping = sectionPlanesState.getNumAllocatedSectionPlanes() > 0;
|
|
18
19
|
const quantizedGeometry = !!mesh._geometry._state.compressGeometry;
|
|
19
20
|
const billboard = mesh._state.billboard;
|
|
20
21
|
const stationary = mesh._state.stationary;
|
|
@@ -11,7 +11,8 @@ class PickTriangleShaderSource {
|
|
|
11
11
|
|
|
12
12
|
function buildVertex(mesh) {
|
|
13
13
|
const scene = mesh.scene;
|
|
14
|
-
const
|
|
14
|
+
const sectionPlanesState = scene._sectionPlanesState;
|
|
15
|
+
const clipping = sectionPlanesState.getNumAllocatedSectionPlanes() > 0;
|
|
15
16
|
const quantizedGeometry = !!mesh._geometry._state.compressGeometry;
|
|
16
17
|
const src = [];
|
|
17
18
|
src.push('#version 300 es');
|