diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/kalmia.h | 61 |
1 files changed, 3 insertions, 58 deletions
diff --git a/include/kalmia.h b/include/kalmia.h index 524072b..bab1b34 100644 --- a/include/kalmia.h +++ b/include/kalmia.h @@ -66,66 +66,11 @@ typedef float ka_real_t; /**************** geometry types ****************/ struct ka_float_array_t { + unsigned int count; /* required */ char *id; - size_t count; - ka_real_t *data; + unsigned int digits; /* default 6 */ + int magnitude; /* default 38 */ }; -struct ka_param_t { - char *name; - char *type; -}; - - -struct ka_accessor_t { - size_t count; - size_t offset; - char *source; - size_t stride; - - struct ka_param_t *param; - size_t param_count; -}; - - -struct ka_technique_common_t { - struct ka_accessor_t accessor; -}; - - -struct ka_source_t { - char *id; - struct ka_float_array_t float_array; - struct ka_technique_common_t technique_common; -}; - - -struct ka_vertices_t { -}; - - -struct ka_triangles_t { -}; - - -struct ka_mesh_t { - struct ka_source_t *source; - size_t source_count; - - struct ka_vertices_t vertices; - - struct ka_triangles_t *triangles; - size_t triangles_count; -}; - - -struct ka_geometry_t { - struct ka_mesh_t mesh; -}; - - -typedef ka_real_t ka_matrix_t[16]; - - #endif |