React to commit 14d33ee0530e5db640e0fafb8604662333c1b066 in iron.

This commit is contained in:
niacdoial 2021-08-19 11:31:12 +02:00
parent f892fdfd8a
commit a67452802d
No known key found for this signature in database
GPG key ID: D2B9B9FE6D7B1C8E
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;