|
@@ -14780,8 +14780,13 @@ function o(a, s, l) {
|
|
|
"use strict";
|
|
|
function n(e, t, i) {
|
|
|
this.sid = e,
|
|
|
- this.position = this.conversionArray(t.position),
|
|
|
- this.rotation = this.conversionArray(t.rotation),
|
|
|
+ this.position = this.conversionArray(t.position)
|
|
|
+
|
|
|
+ if(t.quaternion){
|
|
|
+ this.quaternion = t.quaternion;
|
|
|
+ }else{
|
|
|
+ this.rotation = this.conversionArray(t.rotation)
|
|
|
+ }
|
|
|
this.link = t.link,
|
|
|
this.model = i,
|
|
|
this.size = t.size;
|
|
@@ -14838,8 +14843,12 @@ function o(a, s, l) {
|
|
|
}))
|
|
|
, t = parseFloat(window.MP_PREFETCHED_MODELDATA.hotIconScale);
|
|
|
e.dynamic = !0,
|
|
|
- e.position.copy((new g.Vector3).fromArray(this.position)),
|
|
|
- e.rotation.copy((new g.Euler).fromArray(this.rotation)),
|
|
|
+ e.position.copy((new g.Vector3).fromArray(this.position));
|
|
|
+ if(this.quaternion){
|
|
|
+ e.quaternion.copy(this.quaternion)
|
|
|
+ }else{
|
|
|
+ e.rotation.copy((new g.Euler).fromArray(this.rotation));
|
|
|
+ }
|
|
|
t && e.scale.set(t, t, t),
|
|
|
e.name = this.sid,
|
|
|
e.type = "hotSprite",
|