Skip to content

Commit

Permalink
updated FoV in thor example (#3356)
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish authored May 2, 2022
1 parent 911d45e commit 8e0894b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/modelviewer.dev/examples/annotations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ <h4 id="intro"><span class="font-medium">Camera Views. </span></h4>
camera-orbit="-8.142746deg 68.967deg 0.6179899m"
camera-target="-0.003m 0.0722m 0.0391m"
field-of-view="45deg"
min-field-of-view="45deg"
min-field-of-view="25deg"
max-field-of-view="45deg"
interpolation-decay="200"
min-camera-orbit="auto auto 5%"
Expand Down Expand Up @@ -413,6 +413,7 @@ <h4 id="intro"><span class="font-medium">Camera Views. </span></h4>
let dataset = annotation.dataset;
modelViewer1.cameraTarget = dataset.target;
modelViewer1.cameraOrbit = dataset.orbit;
modelViewer1.fieldOfView = '45deg';
}

modelViewer1.querySelectorAll('button').forEach((hotspot) => {
Expand Down

0 comments on commit 8e0894b

Please sign in to comment.