goat3d

annotate src/object.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 cd71f0b92f44
children dad392c710df
rev   line source
nuclear@0 1 #ifndef OBJECT_H_
nuclear@0 2 #define OBJECT_H_
nuclear@0 3
nuclear@8 4 #include <string>
nuclear@8 5 #include <vmath/vmath.h>
nuclear@0 6
nuclear@8 7 class Object {
nuclear@8 8 public:
nuclear@8 9 std::string name;
nuclear@0 10
nuclear@8 11 Vector3 pos;
nuclear@8 12 Quaternion rot;
nuclear@26 13
nuclear@26 14 virtual ~Object() {};
nuclear@0 15 };
nuclear@0 16
nuclear@0 17 #endif // OBJECT_H_