mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 19:15:52 +00:00
Merge pull request #60 from lioncash/athena
DataSpec: Be explicit about athena's SeekOrigin type
This commit is contained in:
commit
fa1b3a5a12
@ -81,7 +81,7 @@ static void OutputOctreeNode(hecl::blender::PyOutStream& os, athena::io::MemoryR
|
|||||||
offsets[i] = r.readUint32Big();
|
offsets[i] = r.readUint32Big();
|
||||||
u32 dataStart = r.position();
|
u32 dataStart = r.position();
|
||||||
for (int i = 0; i < 8; ++i) {
|
for (int i = 0; i < 8; ++i) {
|
||||||
r.seek(dataStart + offsets[i], athena::Begin);
|
r.seek(dataStart + offsets[i], athena::SeekOrigin::Begin);
|
||||||
int chFlags = (flags >> (i * 2)) & 0x3;
|
int chFlags = (flags >> (i * 2)) & 0x3;
|
||||||
|
|
||||||
zeus::CAABox pos, neg, res;
|
zeus::CAABox pos, neg, res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user