Files
st/include/Physics/Cylinder.hpp
T
Yanis 69ef244371 Merge headers from nitro decomp (#69)
* merge headers from nitro decomp

* cleanup: use inlines from g2.h and gx.h when changing registers

* cleanup: remove externs declarations in source files
2026-05-25 02:55:16 +02:00

29 lines
407 B
C++

#pragma once
#include "types.h"
#include "math.hpp"
struct Cylinder {
VecFx32 pos;
fx32 size; // height and radius
Cylinder() {}
Cylinder(fx32 size) {
this->Init(size);
}
void Init(fx32 size) {
pos.x = 0;
pos.y = size;
pos.z = 0;
this->size = size;
}
void MakeEmpty() {
pos = gVecFx32_ZERO;
size = -1;
}
};