mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 23:05:17 -04:00
cb52c8c23f
* Map symbol in Game * ActorNavi 93% * ActorNavi_04 96% * Document Actor fields * Move MAX_KEYS to ItemManager * Move gTouchControl to its own header * Fix missing includes * Fix regressions * Fix build * Update decompiling guide images * Fix regression
29 lines
493 B
C++
29 lines
493 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
#include "nds/math.h"
|
|
|
|
struct Cylinder {
|
|
Vec3p pos;
|
|
q20 size; // height and radius
|
|
|
|
inline Cylinder() {}
|
|
inline Cylinder(q20 size) {
|
|
pos.x = 0;
|
|
pos.y = size;
|
|
pos.z = 0;
|
|
|
|
this->size = size;
|
|
}
|
|
|
|
inline void MakeEmpty() {
|
|
pos = gVec3p_ZERO;
|
|
size = -1;
|
|
}
|
|
|
|
bool Overlaps(Cylinder *other);
|
|
bool func_ov000_0208f030(Vec3p *param1, Vec3p *param2, s32 param3);
|
|
};
|