Skip to content

thelac/pano-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Floored Panorama Viewer

See the tests folder for example usage.

Oculus Setup

Documentation

index.html

<!DOCTYPE html>
<html>
    <head>
        <title>Testing</title>
        <!-- data-main attribute tells require.js to load
             scripts/main.js after require.js loads. -->
        <script data-main="main" src="require.js"></script>
    </head>
    <body>
    </body>
</html>
main.js

// Assumes library is in root of URL
require.config({
  baseUrl: '/',
  paths: {
    'fallback': 'fallback'
  }
});

require(['fallback'], function(fallback) {
    console.log(fallback.shouldShow);
    fallback.show('/tests/streetview', {});
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published