12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // Author: Michael Cameron
- // Email: chronokun@hotmail.com
- //
- #ifndef __WORLDSPAWN_H__
- #define __WORLDSPAWN_H__
- #include <vector>
- #include <string>
- #include <Eigen/Core>
- struct TFace
- {
- float m_fXOffset;
- float m_fYOffset;
- float m_fXScale;
- float m_fYScale;
- float m_fRotation;
- std::vector<int> m_Indices;
- std::string hex;
- std::string m_Material;
- };
- struct TBrush
- {
- std::vector<Eigen::Vector3f> m_Vertices;
- std::vector<TFace> m_Faces;
- };
- struct TWorldSpawn
- {
- std::vector<TBrush> m_Brushes;
- };
- #endif
|