mirror of
https://github.com/zeldaret/st
synced 2026-09-01 09:33:11 -04:00
Actor::mType field (#7)
* `Actor::mType` field * Fix struct sizes * Update symbols
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user