Browse Source

None of the API functions are used internally, so there's no reason to mark them.

pull/564/head
Matthew Petroff 6 years ago
committed by GitHub
parent
commit
32ea362a9c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/js/pannellum.js

+ 2
- 2
src/js/pannellum.js View File

@@ -2393,7 +2393,7 @@ this.setYaw = function(yaw, animated, callback, callbackArgs) {
* @instance
* @returns {number[]} [yaw pitch, maximum yaw]
*/
this.getYawBounds = function() { // unused
this.getYawBounds = function() {
return [config.minYaw, config.maxYaw];
};

@@ -2404,7 +2404,7 @@ this.getYawBounds = function() { // unused
* @param {number[]} bounds - [minimum yaw, maximum yaw]
* @returns {Viewer} `this`
*/
this.setYawBounds = function(bounds) { // unused
this.setYawBounds = function(bounds) {
config.minYaw = Math.max(-180, Math.min(bounds[0], 180));
config.maxYaw = Math.max(-180, Math.min(bounds[1], 180));
return this;


Loading…
Cancel
Save