#ifndef CURSETREE_NSPARTED_H #define CURSETREE_NSPARTED_H #include "node.h" /* Surface Partition Dimensions */ struct ct_spdims { // Main Axis & Orthogonal Axis Sizes int axm_size, axo_size; bool fixed; int min, max; }; /* Node Surface Partitioner */ struct ct_nsparted { struct ct_node *const node; struct ct_dims *const dims; /* Child Surface Partition Dimensions */ struct ct_spdims *const cspdims; }; struct ct_nsparted *init_nsparted(struct ct_node *const node, struct ct_dims *const dims); #endif /* CURSETREE_NSPARTED_H */