summaryrefslogtreecommitdiff
path: root/include/d/col/c/c_partition.h
blob: 6f8d9e62ad12ad3288b76826ddb42fa9307cc740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef C_PARTITION_H
#define C_PARTITION_H

/**
 * File Made Up.
 * Some Mask/Quick index into the collision octree
 */
#include "common.h"
#include "d/col/c/c_m3d_g_aab.h"

class cPartition {
public:
    // static u32 sShift;
    // static u32 sMask;

    /* 0x0 */ u32 mX;
    /* 0x4 */ u32 mY;
    /* 0x8 */ u32 mZ;

    cPartition();

    // vt at 0xC
    virtual ~cPartition();

    void Calc(mVec3_c *pPos);

    void fn_803391f0(const cM3dGAab *);

    void fn_80339740(mVec3_c *, f32);
    void fn_803399b0(mVec3_c *);
    static void fn_80338fb0();

    static bool fn_80339070(const cM3dGAab *);
};

#endif