Files
Yanis 0698c28bb0 Vector improvements (#67)
* clean up math.h and attempt to improve existing vector maths

* fix broken matches and match new stuff
2026-05-24 01:33:53 +02:00

29 lines
400 B
C++

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