mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Specialize PATH by PAKBridge
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace DataSpec {
|
||||
namespace DNAPATH {
|
||||
template <atUint32 PathVer>
|
||||
template <class PAKBridge>
|
||||
struct PATH;
|
||||
}
|
||||
|
||||
@@ -44,15 +44,15 @@ struct AROTBuilder {
|
||||
void writeColNodes(uint8_t*& ptr, const zeus::CAABox& curAABB);
|
||||
|
||||
void pathCountNodesAndLookups(size_t& nodeCount, size_t& lookupCount);
|
||||
template <uint32_t PathVer>
|
||||
void pathWrite(DNAPATH::PATH<PathVer>& path, const zeus::CAABox& curAABB);
|
||||
template <class PAKBridge>
|
||||
void pathWrite(DNAPATH::PATH<PAKBridge>& path, const zeus::CAABox& curAABB);
|
||||
} rootNode;
|
||||
|
||||
void build(std::vector<std::vector<uint8_t>>& secs, const zeus::CAABox& fullAabb,
|
||||
const std::vector<zeus::CAABox>& meshAabbs, const std::vector<DNACMDL::Mesh>& meshes);
|
||||
std::pair<std::unique_ptr<uint8_t[]>, uint32_t> buildCol(const ColMesh& mesh, BspNodeType& rootOut);
|
||||
template <uint32_t PathVer>
|
||||
void buildPath(DNAPATH::PATH<PathVer>& path);
|
||||
template <class PAKBridge>
|
||||
void buildPath(DNAPATH::PATH<PAKBridge>& path);
|
||||
};
|
||||
|
||||
} // namespace DataSpec
|
||||
|
||||
Reference in New Issue
Block a user