Files
armorpaint/paint/sources/nodes_brush/null_node.c
T

18 lines
374 B
C
Raw Normal View History

2026-03-06 12:56:38 +01:00
2026-03-09 13:17:15 +01:00
#include "../global.h"
2026-06-05 14:48:27 +02:00
typedef struct null_node {
struct logic_node *base;
} null_node_t;
2026-04-04 21:38:20 +02:00
logic_node_value_t *null_node_get(null_node_t *self, i32 from) {
return NULL;
}
2026-06-05 14:48:27 +02:00
void *null_node_create(ui_node_t *raw, f32_array_t *args) {
2026-03-06 12:56:38 +01:00
null_node_t *n = GC_ALLOC_INIT(null_node_t, {0});
n->base = logic_node_create(n);
n->base->get = float_node_get;
return n;
}