worldspawn.h 519 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // Author: Michael Cameron
  3. // Email: chronokun@hotmail.com
  4. //
  5. #ifndef __WORLDSPAWN_H__
  6. #define __WORLDSPAWN_H__
  7. #include <vector>
  8. #include <string>
  9. #include <Eigen/Core>
  10. struct TFace
  11. {
  12. float m_fXOffset;
  13. float m_fYOffset;
  14. float m_fXScale;
  15. float m_fYScale;
  16. float m_fRotation;
  17. std::vector<int> m_Indices;
  18. std::string hex;
  19. std::string m_Material;
  20. };
  21. struct TBrush
  22. {
  23. std::vector<Eigen::Vector3f> m_Vertices;
  24. std::vector<TFace> m_Faces;
  25. };
  26. struct TWorldSpawn
  27. {
  28. std::vector<TBrush> m_Brushes;
  29. };
  30. #endif