mirror of https://github.com/AxioDL/metaforce.git
18 lines
567 B
C++
18 lines
567 B
C++
#include "CParticlePOINode.hpp"
|
|
#include "CAnimSourceReader.hpp"
|
|
|
|
namespace urde {
|
|
|
|
CParticlePOINode::CParticlePOINode() : CPOINode("root", EPOIType::Particle, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
|
|
|
|
CParticlePOINode::CParticlePOINode(CInputStream& in) : CPOINode(in), x38_data(in) {}
|
|
|
|
CParticlePOINode CParticlePOINode::CopyNodeMinusStartTime(const CParticlePOINode& node,
|
|
const CCharAnimTime& startTime) {
|
|
CParticlePOINode ret = node;
|
|
ret.x1c_time -= startTime;
|
|
return ret;
|
|
}
|
|
|
|
} // namespace urde
|