Open Source Tomb Raider Engine
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.

StaticMesh.h 377B

123456789101112131415161718192021222324
  1. /*!
  2. * \file include/StaticMesh.h
  3. * \brief Static Model Meshes
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _STATIC_MODEL_H_
  8. #define _STATIC_MODEL_H_
  9. class StaticMesh {
  10. public:
  11. StaticMesh(int i, int m) : id(i), mesh(m) { }
  12. void display(glm::mat4 model, glm::mat4 view, glm::mat4 projection);
  13. int getID() { return id; }
  14. private:
  15. int id;
  16. int mesh;
  17. };
  18. #endif