Bladeren bron

Build 25e3d6d.

pull/952/head
strarsis 5 jaren geleden
bovenliggende
commit
f286864072
3 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. +1
    -1
      build/pannellum.css
  2. +2
    -2
      build/pannellum.htm
  3. +2
    -2
      build/pannellum.js

+ 1
- 1
build/pannellum.css
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 2
- 2
build/pannellum.htm
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 2
- 2
build/pannellum.js Bestand weergeven

@@ -1,4 +1,4 @@
// Pannellum 805f6da, https://github.com/mpetroff/pannellum
// Pannellum 25e3d6d, https://github.com/mpetroff/pannellum
window.libpannellum=function(F,f,p){function ja(Z){function R(a,d){return 1==a.level&&1!=d.level?-1:1==d.level&&1!=a.level?1:d.timestamp-a.timestamp}function na(a,d){return a.level!=d.level?a.level-d.level:a.diff-d.diff}function M(a,d,c,f,k,g){this.vertices=a;this.side=d;this.level=c;this.x=f;this.y=k;this.path=g.replace("%s",d).replace("%l",c).replace("%x",f).replace("%y",k)}function La(a,d,f,p,k){var g;var e=d.vertices;g=oa(a,e.slice(0,3));var s=oa(a,e.slice(3,6)),z=oa(a,e.slice(6,9)),e=oa(a,e.slice(9,
12)),m=g[0]+s[0]+z[0]+e[0];-4==m||4==m?g=!1:(m=g[1]+s[1]+z[1]+e[1],g=-4==m||4==m?!1:4!=g[2]+s[2]+z[2]+e[2]);if(g){g=d.vertices;s=g[0]+g[3]+g[6]+g[9];z=g[1]+g[4]+g[7]+g[10];e=g[2]+g[5]+g[8]+g[11];m=Math.sqrt(s*s+z*z+e*e);e=Math.asin(e/m);s=Math.atan2(z,s)-p;s+=s>Math.PI?-2*Math.PI:s<-Math.PI?2*Math.PI:0;s=Math.abs(s);d.diff=Math.acos(Math.sin(f)*Math.sin(e)+Math.cos(f)*Math.cos(e)*Math.cos(s));s=!1;for(z=0;z<c.nodeCache.length;z++)if(c.nodeCache[z].path==d.path){s=!0;c.nodeCache[z].timestamp=c.nodeCacheTimestamp++;
c.nodeCache[z].diff=d.diff;c.currentNodes.push(c.nodeCache[z]);break}s||(d.timestamp=c.nodeCacheTimestamp++,c.currentNodes.push(d),c.nodeCache.push(d));if(d.level<c.level){var e=n.cubeResolution*Math.pow(2,d.level-n.maxLevel),s=Math.ceil(e*n.invTileResolution)-1,z=e%n.tileResolution*2,l=2*e%n.tileResolution;0===l&&(l=n.tileResolution);0===z&&(z=2*n.tileResolution);m=0.5;if(d.x==s||d.y==s)m=1-n.tileResolution/(n.tileResolution+l);var x=1-m,e=[],t=m,y=m,C=m,I=x,J=x,A=x;if(l<n.tileResolution)if(d.x==
@@ -88,7 +88,7 @@ String(a).split("\n").join("<br>")}function J(a){return 0===a.trim().toLowerCase
yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:p,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,dynamicUpdate:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:function(a){return 0.5>a?2*a*a:-1+(4-2*a)*a},draggable:!0,disableKeyboardCtrl:!1,
crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:0.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",
genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};t="string"===typeof t?f.getElementById(t):t;t.classList.add("pnlm-container");t.tabIndex=0;var K=f.createElement("div");K.className="pnlm-ui";
t.appendChild(K);var N=f.createElement("div");N.className="pnlm-render-container";t.appendChild(N);var W=f.createElement("div");W.className="pnlm-dragfix";K.appendChild(W);var ia=f.createElement("span");ia.className="pnlm-about-msg";ia.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 805f6da';K.appendChild(ia);W.addEventListener("contextmenu",na);var q={},Ya=f.createElement("div");Ya.className="pnlm-sprite pnlm-hot-spot-debug-indicator";K.appendChild(Ya);q.container=f.createElement("div");
t.appendChild(K);var N=f.createElement("div");N.className="pnlm-render-container";t.appendChild(N);var W=f.createElement("div");W.className="pnlm-dragfix";K.appendChild(W);var ia=f.createElement("span");ia.className="pnlm-about-msg";ia.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 25e3d6d';K.appendChild(ia);W.addEventListener("contextmenu",na);var q={},Ya=f.createElement("div");Ya.className="pnlm-sprite pnlm-hot-spot-debug-indicator";K.appendChild(Ya);q.container=f.createElement("div");
q.container.className="pnlm-panorama-info";q.title=f.createElement("div");q.title.className="pnlm-title-box";q.container.appendChild(q.title);q.author=f.createElement("div");q.author.className="pnlm-author-box";q.container.appendChild(q.author);K.appendChild(q.container);q.load={};q.load.box=f.createElement("div");q.load.box.className="pnlm-load-box";q.load.boxp=f.createElement("p");q.load.box.appendChild(q.load.boxp);q.load.lbox=f.createElement("div");q.load.lbox.className="pnlm-lbox";q.load.lbox.innerHTML=
'<div class="pnlm-loading"></div>';q.load.box.appendChild(q.load.lbox);q.load.lbar=f.createElement("div");q.load.lbar.className="pnlm-lbar";q.load.lbarFill=f.createElement("div");q.load.lbarFill.className="pnlm-lbar-fill";q.load.lbar.appendChild(q.load.lbarFill);q.load.box.appendChild(q.load.lbar);q.load.msg=f.createElement("p");q.load.msg.className="pnlm-lmsg";q.load.box.appendChild(q.load.msg);K.appendChild(q.load.box);q.errorMsg=f.createElement("div");q.errorMsg.className="pnlm-error-msg pnlm-info-box";
K.appendChild(q.errorMsg);var u={};u.container=f.createElement("div");u.container.className="pnlm-controls-container";K.appendChild(u.container);u.load=f.createElement("div");u.load.className="pnlm-load-button";u.load.addEventListener("click",function(){g();x()});K.appendChild(u.load);u.zoom=f.createElement("div");u.zoom.className="pnlm-zoom-controls pnlm-controls";u.zoomIn=f.createElement("div");u.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control";u.zoomIn.addEventListener("click",function(){G&&


Laden…
Annuleren
Opslaan