XPlor/libs/xassets/xgfxworldvertexdata.cpp
2025-09-07 23:12:04 -04:00

31 lines
497 B
C++

#include "xgfxworldvertexdata.h"
XGfxWorldVertexData::XGfxWorldVertexData()
: XAsset()
, mVertices()
, mWorldVertexBuffer()
{
}
XGfxWorldVertexData::~XGfxWorldVertexData()
{
}
void XGfxWorldVertexData::Clear()
{
mVertices.clear();
mWorldVertexBuffer.Clear();
}
void XGfxWorldVertexData::ParseData(QDataStream *aStream) {
if (GetPtr() == -1) {
qint32 worldVertexPtr;
*aStream >> worldVertexPtr;
mWorldVertexBuffer.ParseData(aStream);
}
}