Files
armorpaint/base/sources/nodes/null_node.ts
T

16 lines
300 B
TypeScript
Raw Normal View History

2024-03-14 23:58:24 +01:00
type null_node_t = {
base?: logic_node_t;
};
2024-05-03 21:29:39 +02:00
function null_node_create(args: f32_array_t): null_node_t {
2024-03-14 23:58:24 +01:00
let n: null_node_t = {};
n.base = logic_node_create();
n.base.get = float_node_get;
return n;
}
2024-04-08 17:40:32 +02:00
function null_node_get(self: null_node_t, from: i32): logic_node_value_t {
2024-04-02 15:45:49 +02:00
return null;
2024-03-14 23:58:24 +01:00
}