React to commit 14d33ee0530e5db640e0fafb8604662333c1b066 in iron.
This commit is contained in:
parent
f892fdfd8a
commit
a67452802d
|
@ -69,7 +69,7 @@ class RotationNode extends LogicNode {
|
|||
vec.y *= toRAD;
|
||||
vec.z *= toRAD;
|
||||
}
|
||||
this.value = Rotation.eulerToQuat(vec, property2);
|
||||
this.value.fromEulerOrdered(vec, property2);
|
||||
}
|
||||
}
|
||||
default: {
|
||||
|
@ -104,7 +104,7 @@ class RotationNode extends LogicNode {
|
|||
}
|
||||
case "EulerAngles": {
|
||||
if (input_length>0){
|
||||
var vec = Rotation.quatToEuler(value, property2);
|
||||
var vec = value.toEulerOrdered(property2);
|
||||
if (property1=="Deg"){
|
||||
vec.x /= toRAD;
|
||||
vec.y /= toRAD;
|
||||
|
|
|
@ -31,7 +31,7 @@ class SeparateRotationNode extends LogicNode {
|
|||
switch (property0) {
|
||||
case "EulerAngles":
|
||||
if (q!=this.input_cache)
|
||||
euler_cache = Rotation.quatToEuler(q, property2);
|
||||
euler_cache = q.toEulerOrdered(property2);
|
||||
if (from>0)
|
||||
return null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue