#ifndef __DNACOMMON_PATH_HPP__ #define __DNACOMMON_PATH_HPP__ #include "../DNACommon/DNACommon.hpp" namespace DataSpec { struct PATH : BigDNA { DECL_DNA Value version; struct Node : BigDNA { DECL_DNA Value position; Value normal; }; Value nodeCount; Vector nodes; struct Link : BigDNA { DECL_DNA Value regionIdx; Value nodeIdx; Value width2d; Value oneOverWidth2d; }; Value linkCount; Vector links; struct Region : BigDNA { DECL_DNA Value nodeCount; Value nodeStart; Value linkCount; Value linkStart; Value flags; Value height; Value normal; Value regionIdx; Value centroid; Value aabb[2]; Value regionIdxPtr; }; Value regionCount; Vector regions; Vector bitmap1; Vector bitmap2; Vector bitmap3; Value octreeRegionLookupCount; Vector octreeRegionLookup; struct OctreeNode : BigDNA { DECL_DNA Value isLeaf; Value points[3]; Value children[8]; Value regionCount; Value regionStart; }; Value octreeNodeCount; Vector octree; }; } #endif // __DNACOMMON_PATH_HPP__