From f547164540f4ac7f8436fef8e981b1fef503f08c Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 6 Feb 2023 21:46:34 -0600 Subject: add kai_read_geometry and fix kai_read_source error handling --- src/geometry/geometry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/geometry/geometry.h') diff --git a/src/geometry/geometry.h b/src/geometry/geometry.h index a46af87..c00704f 100644 --- a/src/geometry/geometry.h +++ b/src/geometry/geometry.h @@ -29,4 +29,7 @@ void kai_release_triangles(struct ka_triangles_t t); int kai_read_mesh(struct ka_mesh_t *dest, struct kai_tag_t *src); void kai_release_mesh(struct ka_mesh_t m); +int kai_read_geometry(struct ka_geometry_t *dest, struct kai_tag_t *src); +void kai_release_geometry(struct ka_geometry_t m); + #endif -- cgit v1.2.1