mirror of
https://github.com/zeldaret/st
synced 2026-05-29 16:44:47 -04:00
c925fce03c
* `Actor::mType` field * Fix struct sizes * Update symbols
25 lines
366 B
C++
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;
|
|
}
|
|
};
|