goat3d

diff src/goat3d_impl.h @ 40:a5c5cec3cb88

- added mesh attribute and face append functions - added Int4 constructor - continued the blender exporter - fixed a bug in clean_filename which made it produce unterminated strings - renamed clean_filename to goat3d_clean_filename and made it extern - added call to goat3d_clean_filename in the mesh XML export code to cleanup ctm filenames
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Oct 2013 10:14:19 +0300
parents b35427826b60
children 498ca7ac7047
line diff
     1.1 --- a/src/goat3d_impl.h	Wed Oct 09 16:40:59 2013 +0300
     1.2 +++ b/src/goat3d_impl.h	Sun Oct 13 10:14:19 2013 +0300
     1.3 @@ -21,6 +21,8 @@
     1.4  #define VECDATA(type, data, num) \
     1.5  	MOVE(std::vector<type>((type*)(data), (type*)(data) + (num)))
     1.6  
     1.7 +std::string goat3d_clean_filename(const char *str);
     1.8 +
     1.9  
    1.10  class Scene {
    1.11  private: