[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.

utils.h 673B

12345678910111213141516171819202122232425262728
  1. #ifndef __UTILS_H__
  2. #define __UTILS_H__
  3. #include <iostream>
  4. #include <cassert>
  5. #include <GL/glew.h>
  6. #include <GL/glut.h>
  7. #include <GL/gl.h>
  8. #include <assimp/cimport.h>
  9. #include <assimp/scene.h>
  10. #include <assimp/postprocess.h>
  11. const aiNodeAnim *findNodeAnim(const aiAnimation *anim, aiString name);
  12. aiVector3D operator*( float num, aiVector3D v );
  13. aiQuaternion operator*( float num, aiQuaternion v );
  14. aiVector3D getPosition( aiMatrix4x4 mat );
  15. aiVector3D getScale( aiMatrix4x4 mat );
  16. aiMatrix4x4 operator*( float num, aiMatrix4x4 m );
  17. aiMatrix4x4 operator+( aiMatrix4x4 m1, aiMatrix4x4 m2 );
  18. std::ostream& operator<<(std::ostream& os, const aiMatrix4x4& m);
  19. #endif