Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/gallery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function loadScene(id) {
vrView.setContent({
image: scenes[id].image,
preview: scenes[id].preview,
is_stereo: scenes[id].is_stereo || false,
is_autopan_off: true
});

Expand Down
6 changes: 5 additions & 1 deletion examples/hotspots/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var scenes = {
dolphins: {
image: 'dolphins.jpg',
preview: 'dolphins-preview.jpg',
is_stereo: true,
hotspots: {
whaleRight: {
pitch: 0,
Expand All @@ -43,6 +44,7 @@ var scenes = {
whaleLeft: {
image: 'whale-left.jpg',
preview: 'whale-left-preview.jpg',
is_stereo: true,
hotspots: {
whaleRight: {
pitch: 0,
Expand All @@ -67,6 +69,7 @@ var scenes = {
whaleRight: {
image: 'whale-right.jpg',
preview: 'whale-right-preview.jpg',
is_stereo: true,
hotspots: {
dolphins: {
pitch: 0,
Expand All @@ -91,6 +94,7 @@ var scenes = {
walrus: {
image: 'walrus.jpg',
preview: 'walrus-preview.jpg',
is_stereo: true,
hotspots: {
whaleLeft: {
pitch: 0,
Expand Down Expand Up @@ -158,7 +162,7 @@ function loadScene(id) {
vrView.setContent({
image: scenes[id].image,
preview: scenes[id].preview,
is_stereo: true,
is_stereo: scenes[id].is_stereo || false,
is_autopan_off: true
});

Expand Down