reflex2q3/include/worldspawn.h

37 lines
519 B
C
Raw Permalink Normal View History

2015-02-02 08:11:03 +05:30
//
// Author: Michael Cameron
// Email: chronokun@hotmail.com
//
#ifndef __WORLDSPAWN_H__
#define __WORLDSPAWN_H__
#include <vector>
#include <string>
#include <Eigen/Core>
2015-02-02 08:11:03 +05:30
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;
2015-02-02 08:11:03 +05:30
std::string m_Material;
};
struct TBrush
{
2017-04-02 19:34:54 +05:30
std::vector<Eigen::Vector3f> m_Vertices;
2015-02-02 08:11:03 +05:30
std::vector<TFace> m_Faces;
};
struct TWorldSpawn
{
std::vector<TBrush> m_Brushes;
};
#endif