32 lines
461 B
C++
32 lines
461 B
C++
//
|
|
// Author: Michael Cameron
|
|
// Email: chronokun@hotmail.com
|
|
//
|
|
|
|
#ifndef __WORLDSPAWN_H__
|
|
#define __WORLDSPAWN_H__
|
|
#include "libraries.h"
|
|
struct TFace
|
|
{
|
|
float m_fXOffset;
|
|
float m_fYOffset;
|
|
float m_fXScale;
|
|
float m_fYScale;
|
|
float m_fRotation;
|
|
std::vector<int> m_Indices;
|
|
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 |