浏览代码

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

pull/564/head
Matthew Petroff 6 年前
committed by GitHub
父节点
当前提交
32ea362a9c
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/js/pannellum.js

+ 2
- 2
src/js/pannellum.js 查看文件

@@ -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;


正在加载...
取消
保存