28 lines
375 B
C++
28 lines
375 B
C++
|
|
#include "xphysmass.h"
|
||
|
|
|
||
|
|
XPhysMass::XPhysMass()
|
||
|
|
: XAsset()
|
||
|
|
, mCenterOfMass()
|
||
|
|
, mMomentsOfInertia()
|
||
|
|
, mProductsOfInertia()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
XPhysMass::~XPhysMass()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void XPhysMass::ParseData(QDataStream *aStream)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void XPhysMass::Clear()
|
||
|
|
{
|
||
|
|
mCenterOfMass = QVector3D();
|
||
|
|
mMomentsOfInertia = QVector3D();
|
||
|
|
mProductsOfInertia = QVector3D();
|
||
|
|
}
|