|
@@ -20234,6 +20234,7 @@ window.Modernizr = function (n, e, t) {
|
|
|
t.opacity.value = 0,
|
|
|
t.color.value.set(o.reticuleColor),
|
|
|
t.showMouseMarker = !window.DATA.hideMouseMarker;
|
|
|
+
|
|
|
r.Mesh.call(this, new r.PlaneBufferGeometry(.4, .4, 1, 1), new r.RawShaderMaterial({
|
|
|
side: r.DoubleSide,
|
|
|
depthWrite: !1,
|
|
@@ -20516,6 +20517,11 @@ window.Modernizr = function (n, e, t) {
|
|
|
n.prototype.createCpm = function (e) {
|
|
|
if (!this.currentPanoMarker) {
|
|
|
var t = this.makeWaypointObj(w.pathEnd, "Current");
|
|
|
+
|
|
|
+ let scale = 4000/(window.innerWidth + window.innerHeight )*window.devicePixelRatio //防止移动端看起来过小
|
|
|
+ console.error('scalescalescalescalescale!!!!!!!!!!!!!!!!!!!!!',scale)
|
|
|
+ t.scale.set(scale,scale,scale)
|
|
|
+
|
|
|
t.material.uniforms.opacity.value = 0,
|
|
|
this.currentPanoMarker = {
|
|
|
mesh: t,
|
|
@@ -21031,9 +21037,12 @@ window.Modernizr = function (n, e, t) {
|
|
|
}
|
|
|
,
|
|
|
n.prototype.makeEndMarker = function (e) {
|
|
|
- var t = this.makeWaypointObj(w.pathEnd, "End")
|
|
|
+ var t = this.makeWaypointObj(w.pathEnd, "End")
|
|
|
, i = this.model.panos.get(this.nodes[0]).floor.floorIndex
|
|
|
, n = this.model.panos.get(this.nodes[this.nodes.length - 1]).floor.floorIndex;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
return i < n ? t.material.uniforms.color.value.set(c.path.colorUp) : i > n && t.material.uniforms.color.value.set(c.path.colorDown),
|
|
|
t.position.copy(e),
|
|
|
t
|
|
@@ -23772,6 +23781,7 @@ window.Modernizr = function (n, e, t) {
|
|
|
this.flying = false
|
|
|
this.nextPano = null
|
|
|
this.updateMarkerVisi();//add
|
|
|
+ o.callback && o.callback()
|
|
|
})
|
|
|
|
|
|
}
|