[C++] The IN55 project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
603B

  1. #ifndef __BONE_H__
  2. #define __BONE_H__
  3. #include <iostream>
  4. #include <GL/gl.h>
  5. #include <assimp/cimport.h>
  6. #include <assimp/scene.h>
  7. #include <assimp/postprocess.h>
  8. #include <vectors.h>
  9. class Bone{
  10. private:
  11. aiString name;
  12. aiString parentName;
  13. aiMatrix4x4 offset;
  14. int* verticeIDList;
  15. int nbVertice;
  16. public:
  17. Bone(aiString id, aiString p, aiMatrix4x4 &o);
  18. aiString getName() { return name; };
  19. aiString getParentName() { return parentName; };
  20. aiMatrix4x4 getOffset() { return offset; };
  21. void addVertice(int vert_id);
  22. int* getListofVertices();
  23. };
  24. #endif