summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kalmia.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/kalmia.h b/include/kalmia.h
index d01fb5d..73d5df3 100644
--- a/include/kalmia.h
+++ b/include/kalmia.h
@@ -45,6 +45,8 @@
#ifndef KALMIA_H
#define KALMIA_H
+#include <stddef.h>
+
/* kalmia uses semantic versioning (semver.org) */
#define KALMIA_VERSION_MAJOR 0
#define KALMIA_VERSION_MINOR 0
@@ -60,6 +62,13 @@
/* format data structures */
typedef double ka_matrix_t[16];
+typedef struct ka_node_t {
+ ka_matrix_t transform;
+} ka_node_t;
+typedef struct kalmia_t {
+ size_t n_nodes, n_nodes_max;
+ ka_node_t *node;
+} kalmia_t;
#endif