Format
This commit is contained in:
@@ -15,12 +15,13 @@ function float_node_create(arg: f32): float_node_t {
|
||||
return n;
|
||||
}
|
||||
|
||||
function float_node_get(self: float_node_t, from: i32): any {
|
||||
function float_node_get(self: float_node_t, from: i32): logic_node_value_t {
|
||||
if (self.base.inputs.length > 0) {
|
||||
return logic_node_input_get(self.base.inputs[0]);
|
||||
}
|
||||
else {
|
||||
return self.value;
|
||||
let v: logic_node_value_t = { _f32: self.value };
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user