2015-02-02 08:11:03 +05:30
|
|
|
//
|
|
|
|
// Author: Michael Cameron
|
|
|
|
// Email: chronokun@hotmail.com
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef __WORLDSPAWN_H__
|
|
|
|
#define __WORLDSPAWN_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
|
|
|
|
{
|
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
|