Misc. patches before merge [watch for amends]

- fixed type/import bugs in RotationNode.hx and SeparateRotationNode.hx
This commit is contained in:
niacdoial 2021-08-21 16:07:34 +02:00
parent a67452802d
commit 703c618c7d
No known key found for this signature in database
GPG key ID: D2B9B9FE6D7B1C8E
2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,6 @@ package armory.logicnode;
import iron.math.Vec4;
import iron.math.Quat;
import kha.FastFloat;
import iron.math.Rotation;
class RotationNode extends LogicNode {
@ -104,7 +103,7 @@ class RotationNode extends LogicNode {
}
case "EulerAngles": {
if (input_length>0){
var vec = value.toEulerOrdered(property2);
var vec:Vec4 = value.toEulerOrdered(property2);
if (property1=="Deg"){
vec.x /= toRAD;
vec.y /= toRAD;

View file

@ -3,7 +3,6 @@ package armory.logicnode;
import kha.FastFloat;
import iron.math.Quat;
import iron.math.Vec4;
import iron.math.Rotation;
class SeparateRotationNode extends LogicNode {