2025-09-03 13:20:51 -04:00
|
|
|
#include "xphysmass.h"
|
|
|
|
|
|
|
|
|
|
XPhysMass::XPhysMass()
|
|
|
|
|
: XAsset()
|
|
|
|
|
, mCenterOfMass()
|
|
|
|
|
, mMomentsOfInertia()
|
|
|
|
|
, mProductsOfInertia()
|
|
|
|
|
{
|
2025-09-10 21:58:26 -04:00
|
|
|
SetName("Phys Mass");
|
2025-09-03 13:20:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
XPhysMass::~XPhysMass()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-10 21:58:26 -04:00
|
|
|
void XPhysMass::ParseData(XDataStream *aStream)
|
2025-09-03 13:20:51 -04:00
|
|
|
{
|
2025-09-10 21:58:26 -04:00
|
|
|
Q_UNUSED(aStream);
|
|
|
|
|
|
|
|
|
|
// TODO: Fill in XPhysMass::ParseData
|
2025-09-03 13:20:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void XPhysMass::Clear()
|
|
|
|
|
{
|
|
|
|
|
mCenterOfMass = QVector3D();
|
|
|
|
|
mMomentsOfInertia = QVector3D();
|
|
|
|
|
mProductsOfInertia = QVector3D();
|
|
|
|
|
}
|