Toggle visibility range plugin into psv init and adjust where we are table

This commit is contained in:
Daniele Pancottini
2023-03-04 10:10:15 +01:00
parent bf1a8b6f87
commit bb2c749524
2 changed files with 4 additions and 11 deletions

View File

@@ -222,13 +222,6 @@ export default function RoomPage({
const shperePlayerInstance = new Viewer({
container: 'roomViewer',
plugins: [
[
VisibleRangePlugin,
{
longitudeRange: [null],
latitudeRange: [-Math.PI / 2, Math.PI / 4], //Restrict range so you can't see the top of the pano
},
],
[GyroscopePlugin, StereoPlugin],
MarkersPlugin,
[