35 lines
514 B
C++
35 lines
514 B
C++
|
|
#include "xgfxportal.h"
|
||
|
|
#include "xgfxcell.h"
|
||
|
|
|
||
|
|
XGfxPortal::XGfxPortal()
|
||
|
|
: XAsset()
|
||
|
|
, mWritable()
|
||
|
|
, mPlane()
|
||
|
|
, mCell(new XGfxCell())
|
||
|
|
, mVertices()
|
||
|
|
, mVertexCount(0)
|
||
|
|
, mHullAxis()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
XGfxPortal::~XGfxPortal()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void XGfxPortal::ParseData(QDataStream *aStream)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void XGfxPortal::Clear()
|
||
|
|
{
|
||
|
|
mWritable = XGfxPortalWritable();
|
||
|
|
mPlane.Clear();
|
||
|
|
mCell->Clear();
|
||
|
|
mVertices = QVector3D();
|
||
|
|
mVertexCount = 0;
|
||
|
|
mHullAxis.clear();
|
||
|
|
}
|