aardgoose / CaveView.js

Web native 3d cave survey viewer
https://aardgoose.github.io/CaveView.js/
MIT License
44 stars 11 forks source link

API Documentation terrain shading contour parameter correction #27

Open apgeo opened 4 years ago

apgeo commented 4 years ago

In the current API documentation page - Reference - v2 API

In the terrainShading property, the second value in the enummeration is CV2.SHADING_HEIGHT "The terrain is shaded by height."

but viewer.terrainShading = CV2.SHADING_HEIGHT; results in an error: unknown mode 1

So instead of CV2.SHADING_HEIGHT probably you should have there CV2.SHADING_CONTOURS

aardgoose commented 4 years ago

Hi, Well spotted, I'll fix.

aardgoose commented 4 years ago

Corrected now. Thanks