Files
st/include/Physics/Cylinder.hpp
T
Aetias c925fce03c Actor::mType field (#7)
* `Actor::mType` field

* Fix struct sizes

* Update symbols
2025-08-24 18:41:23 +02:00

25 lines
366 B
C++

#pragma once
#include "types.h"
#include "nitro/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;
}
};