Add Actor.hpp

This commit is contained in:
Aetias
2024-03-23 13:48:20 +01:00
parent 942dfd17a9
commit d7993a432e
3 changed files with 162 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include "global.h"
#include "types.h"
#include "lib/math.h"
struct Cylinder {
Vec3p pos;
q20 size; // height and radius
};
+12
View File
@@ -0,0 +1,12 @@
#pragma once
#include "global.h"
#include "types.h"
#include "lib/math.h"
struct Transform {
Vec3p pos;
s16 rotation;
bool visible;
};