reflex2q3/include/worldspawn.h

37 lines
519 B
C++

//
// 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