瀏覽代碼

Remove redundant constraint on yaw in API (fixes #315).

pull/318/head
Matthew Petroff 8 年之前
父節點
當前提交
129bc0310d
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. +0
    -6
      src/js/pannellum.js

+ 0
- 6
src/js/pannellum.js 查看文件

@@ -2211,12 +2211,6 @@ this.getYaw = function() {
* @returns {Viewer} `this`
*/
this.setYaw = function(yaw, animated) {
while (yaw > 180) {
yaw -= 360;
}
while (yaw < -180) {
yaw += 360;
}
animated = animated == undefined ? 1000: Number(animated);
if (animated) {
animatedMove.yaw = {


Loading…
取消
儲存