Misc. patches before merge [watch for amends]
- fixed type/import bugs in RotationNode.hx and SeparateRotationNode.hx
This commit is contained in:
parent
a67452802d
commit
703c618c7d
|
@ -3,7 +3,6 @@ package armory.logicnode;
|
||||||
import iron.math.Vec4;
|
import iron.math.Vec4;
|
||||||
import iron.math.Quat;
|
import iron.math.Quat;
|
||||||
import kha.FastFloat;
|
import kha.FastFloat;
|
||||||
import iron.math.Rotation;
|
|
||||||
|
|
||||||
class RotationNode extends LogicNode {
|
class RotationNode extends LogicNode {
|
||||||
|
|
||||||
|
@ -104,7 +103,7 @@ class RotationNode extends LogicNode {
|
||||||
}
|
}
|
||||||
case "EulerAngles": {
|
case "EulerAngles": {
|
||||||
if (input_length>0){
|
if (input_length>0){
|
||||||
var vec = value.toEulerOrdered(property2);
|
var vec:Vec4 = value.toEulerOrdered(property2);
|
||||||
if (property1=="Deg"){
|
if (property1=="Deg"){
|
||||||
vec.x /= toRAD;
|
vec.x /= toRAD;
|
||||||
vec.y /= toRAD;
|
vec.y /= toRAD;
|
||||||
|
|
|
@ -3,7 +3,6 @@ package armory.logicnode;
|
||||||
import kha.FastFloat;
|
import kha.FastFloat;
|
||||||
import iron.math.Quat;
|
import iron.math.Quat;
|
||||||
import iron.math.Vec4;
|
import iron.math.Vec4;
|
||||||
import iron.math.Rotation;
|
|
||||||
|
|
||||||
class SeparateRotationNode extends LogicNode {
|
class SeparateRotationNode extends LogicNode {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue