Skip to content

Commit

Permalink
Release 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Feb 12, 2022
2 parents 68fd8fb + 4e93ede commit 7fae6aa
Show file tree
Hide file tree
Showing 54 changed files with 231 additions and 110 deletions.
18 changes: 15 additions & 3 deletions dist/adapters/cubemap-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap-tiles.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/adapters/cubemap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap.js.map

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions dist/adapters/equirectangular-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/equirectangular-tiles.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/photo-sphere-viewer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,11 @@ declare abstract class AbstractAdapter<T> {
*/
static supportsTransition: boolean;

/**
* @summary Indicates if the adapter supports preload
*/
static supportsPreload: boolean;

constructor(parent: Viewer);

/**
Expand Down
19 changes: 16 additions & 3 deletions dist/photo-sphere-viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.js.map

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions dist/plugins/autorotate-keypoints.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/autorotate-keypoints.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/compass.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/compass.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/gyroscope.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/resolution.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/stereo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/plugins/virtual-tour.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/visible-range.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ features:
- title: Plugins
details: New plugins add new features without bloating the main library.
- title: Modern technologies
details: Photo Sphere Viewer is pure JS and based on three.js, allowing very good performances on WebGL enabled systems.
details: Photo Sphere Viewer is pure JS and based on Three.js, allowing very good performances on WebGL enabled systems.
footer: Licensed under MIT License, documentation under CC BY 3.0
---

Expand Down
8 changes: 4 additions & 4 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can also [download the latest release](https://github.com/mistic100/Photo-Sp

## Dependencies

* [three.js](https://threejs.org) (use `build/three.min.js` file)
* [Three.js](https://threejs.org) (use `build/three.min.js` file)
* [uEvent 2](https://github.com/mistic100/uEvent) (use `browser.js` file)


Expand Down Expand Up @@ -58,7 +58,7 @@ Include all JS & CSS files in your page manually or with your favorite bundler a
<script>
var viewer = new PhotoSphereViewer.Viewer({
container: document.querySelector('#viewer'),
panorama: 'path/to/panorama.jpg'
panorama: 'path/to/panorama.jpg',
});
</script>
```
Expand All @@ -82,7 +82,7 @@ import { Viewer } from 'photo-sphere-viewer';

const viewer = new Viewer({
container: document.querySelector('#viewer'),
panorama: 'path/to/panorama.jpg'
panorama: 'path/to/panorama.jpg',
});
```
</md-tab>
Expand All @@ -98,5 +98,5 @@ If your image is not covering a full 360°×180° sphere, it will be deformed. Y
::: tip Caching
Previous version of Photo Sphere Viewer had a caching system, which was buggy and thus disabled by default.

Photo Sphere Viewer 4 uses [THREE.js Cache](https://threejs.org/docs/index.html#api/en/loaders/Cache), enabled by default. You can disable this cache by calling `THREE.Cache.enabled = false;` after importing Photo Sphere Viewer.
Photo Sphere Viewer 4 uses [Three.js Cache](https://threejs.org/docs/index.html#api/en/loaders/Cache), enabled by default. You can disable this cache by calling `THREE.Cache.enabled = false;` after importing Photo Sphere Viewer.
:::
2 changes: 1 addition & 1 deletion docs/guide/adapters/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Adapters

Adapters are small pieces of code responsible to load the panorama texture(s) in the THREE.js scene.
Adapters are small pieces of code responsible to load the panorama texture(s) in the Three.js scene.

The supported adapters are:
- [equirectangular](equirectangular.md): the default adapter, used to load full or partial equirectangular panoramas
Expand Down
Loading

0 comments on commit 7fae6aa

Please sign in to comment.