2015-02-02 15:41:03 +13:00
|
|
|
//
|
|
|
|
// Author: Michael Cameron
|
|
|
|
// Email: chronokun@hotmail.com
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __WORLDSPAWN_H__
|
|
|
|
#define __WORLDSPAWN_H__
|
2017-04-12 00:24:54 -07:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <Eigen/Core>
|
|
|
|
|
2015-02-02 15:41:03 +13:00
|
|
|
struct TFace
|
|
|
|
{
|
|
|
|
float m_fXOffset;
|
|
|
|
float m_fYOffset;
|
|
|
|
float m_fXScale;
|
|
|
|
float m_fYScale;
|
|
|
|
float m_fRotation;
|
|
|
|
std::vector<int> m_Indices;
|
2017-05-06 17:54:48 -07:00
|
|
|
unsigned long hex;
|
2015-02-02 15:41:03 +13:00
|
|
|
std::string m_Material;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct TBrush
|
|
|
|
{
|
2017-04-02 07:04:54 -07:00
|
|
|
std::vector<Eigen::Vector3f> m_Vertices;
|
2015-02-02 15:41:03 +13:00
|
|
|
std::vector<TFace> m_Faces;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
struct TWorldSpawn
|
|
|
|
{
|
|
|
|
std::vector<TBrush> m_Brushes;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|