feature/test #9

Merged
njohnson merged 318 commits from feature/test into main 2025-09-07 12:35:21 -04:00
2 changed files with 50 additions and 0 deletions
Showing only changes of commit 2e09f532b9 - Show all commits

View File

@ -0,0 +1,27 @@
#include "xphysgeomlist.h"
XPhysGeomList::XPhysGeomList()
: XAsset()
, mCount(0)
, mGeoms()
, mMass()
{
}
XPhysGeomList::~XPhysGeomList()
{
}
void XPhysGeomList::ParseData(QDataStream *aStream)
{
}
void XPhysGeomList::Clear()
{
mCount = 0;
mGeoms.clear();
mMass.Clear();
}

View File

@ -0,0 +1,23 @@
#ifndef XPHYSGEOMLIST_H
#define XPHYSGEOMLIST_H
#include "xasset.h"
#include "xphysmass.h"
#include "xphysgeominfo.h"
class XPhysGeomList : public XAsset
{
public:
XPhysGeomList();
~XPhysGeomList();
virtual void ParseData(QDataStream* aStream) override;
virtual void Clear() override;
private:
unsigned int mCount;
QVector<XPhysGeomInfo> mGeoms;
XPhysMass mMass;
};
#endif // XPHYSGEOMLIST_H