#ifndef KALMIA_GEOMETRY_H #define KALMIA_GEOMETRY_H #include #include "xml/xml.h" int kai_read_float_array(struct ka_float_array_t *dest, struct kai_tag_t *src); void kai_release_float_array(struct ka_float_array_t fa); int kai_read_param(struct ka_param_t *dest, struct kai_tag_t *src); void kai_release_param(struct ka_param_t p); int kai_read_accessor(struct ka_accessor_t *dest, struct kai_tag_t *src); void kai_release_accessor(struct ka_accessor_t a); int kai_read_source(struct ka_source_t *dest, struct kai_tag_t *src); void kai_release_source(struct ka_source_t s); int kai_read_input_unshared(struct ka_input_t *dest, struct kai_tag_t *src); int kai_read_input_shared(struct ka_input_t *dest, struct kai_tag_t *src); void kai_release_input(struct ka_input_t i); int kai_read_vertices(struct ka_vertices_t *dest, struct kai_tag_t *src); void kai_release_vertices(struct ka_vertices_t v); int kai_read_triangles(struct ka_triangles_t *dest, struct kai_tag_t *src); 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); int kai_read_library_geometries(struct ka_library_geometries_t *dest, struct kai_tag_t *src); void kai_release_library_geometries(struct ka_library_geometries_t l); #endif