2020-01-15 04:07:48 -08:00
|
|
|
#include "Runtime/Character/CParticlePOINode.hpp"
|
|
|
|
|
|
|
|
#include "Runtime/Character/CAnimSourceReader.hpp"
|
2016-04-11 00:10:28 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2016-04-11 00:10:28 -07:00
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
CParticlePOINode::CParticlePOINode() : CPOINode("root", EPOIType::Particle, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
|
2016-04-16 14:49:47 -07:00
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
CParticlePOINode::CParticlePOINode(CInputStream& in) : CPOINode(in), x38_data(in) {}
|
2016-04-11 00:10:28 -07:00
|
|
|
|
2016-04-11 23:15:32 -07:00
|
|
|
CParticlePOINode CParticlePOINode::CopyNodeMinusStartTime(const CParticlePOINode& node,
|
2018-12-07 21:30:43 -08:00
|
|
|
const CCharAnimTime& startTime) {
|
|
|
|
CParticlePOINode ret = node;
|
|
|
|
ret.x1c_time -= startTime;
|
|
|
|
return ret;
|
2016-04-11 23:15:32 -07:00
|
|
|
}
|
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|