2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Massive template-based DNA refactor

This commit is contained in:
Jack Andersen
2018-02-21 21:24:51 -10:00
parent b405f33ded
commit e4ff23c279
265 changed files with 3993 additions and 5773 deletions

View File

@@ -7,12 +7,12 @@ namespace DataSpec
{
struct PATH : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> version;
struct Node : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atVec3f> position;
Value<atVec3f> normal;
};
@@ -21,7 +21,7 @@ struct PATH : BigDNA
struct Link : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> nodeIdx;
Value<atUint32> regionIdx;
Value<float> width2d;
@@ -32,7 +32,7 @@ struct PATH : BigDNA
struct Region : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> nodeCount;
Value<atUint32> nodeStart;
Value<atUint32> linkCount;
@@ -57,7 +57,7 @@ struct PATH : BigDNA
struct OctreeNode : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> isLeaf;
Value<atVec3f> points[3];
Value<atUint32> children[8];