Skip to content

Commit

Permalink
fix(points): use param classificationScheme in 3DTiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Desplandis committed Jul 10, 2024
1 parent 63af9e2 commit eeef84d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Provider/3dTilesProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function pntsParse(data, layer) {
size: 1,
mode: layer.pntsMode,
shape: layer.pntsShape,
classification: layer.classification,
classificationScheme: layer.classification,
sizeMode: layer.pntsSizeMode,
minAttenuatedSize: layer.pntsMinAttenuatedSize,
maxAttenuatedSize: layer.pntsMaxAttenuatedSize,
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/PointsMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class PointsMaterial extends THREE.ShaderMaterial {
* @param {THREE.Vector2} [options.intensityRange=new THREE.Vector2(1, 65536)] intensity range.
* @param {THREE.Vector2} [options.elevationRange=new THREE.Vector2(0, 1000)] elevation range.
* @param {THREE.Vector2} [options.angleRange=new THREE.Vector2(-90, 90)] scan angle range.
* @param {Scheme} [options.classification] LUT for point classification colorization.
* @param {Scheme} [options.classificationScheme] LUT for point classification colorization.
* @param {Scheme} [options.discreteScheme] LUT for other discret point values colorization.
* @param {string} [options.gradient] Descrition of the gradient to use for continuous point values.
* (Default value will be the 'SPECTRAL' gradient from Utils/Gradients)
Expand Down

0 comments on commit eeef84d

Please sign in to comment.