goat3d
diff src/goat3d_impl.h @ 47:498ca7ac7047
- placed all the implementation stuff in the g3dimpl namespace
- added animation stuff to the public API
- started writing animation saving/loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:47:39 +0200 |
parents | a5c5cec3cb88 |
children | fa5c52ea9d59 |
line diff
1.1 --- a/src/goat3d_impl.h Sun Dec 08 03:00:25 2013 +0200 1.2 +++ b/src/goat3d_impl.h Sat Dec 28 06:47:39 2013 +0200 1.3 @@ -10,6 +10,8 @@ 1.4 #include "material.h" 1.5 #include "node.h" 1.6 1.7 +namespace g3dimpl { 1.8 + 1.9 extern int goat_log_level; 1.10 1.11 #if __cplusplus >= 201103L 1.12 @@ -77,9 +79,17 @@ 1.13 1.14 bool loadxml(goat3d_io *io); 1.15 bool savexml(goat3d_io *io) const; 1.16 + 1.17 + bool load_anim(goat3d_io *io); 1.18 + bool save_anim(const XFormNode *node, goat3d_io *io) const; 1.19 + 1.20 + bool load_anim_xml(goat3d_io *io); 1.21 + bool save_anim_xml(const XFormNode *node, goat3d_io *io) const; 1.22 }; 1.23 1.24 void io_fprintf(goat3d_io *io, const char *fmt, ...); 1.25 void io_vfprintf(goat3d_io *io, const char *fmt, va_list ap); 1.26 1.27 +} // namespace g3dimpl 1.28 + 1.29 #endif // GOAT3D_IMPL_H_