summaryrefslogtreecommitdiff
path: root/archive/src/collision.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:48:05 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:48:05 +1000
commitdfb6adbcbcc7d50b770b6d5ea82efdd8f8c32e25 (patch)
treea470b91a90716d7ea46fde53ed395449c24583a2 /archive/src/collision.c
parent54354e32c6498cc7f8839ab4deb1208d37216cc5 (diff)
delete documentation workflow
Diffstat (limited to 'archive/src/collision.c')
-rw-r--r--archive/src/collision.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/archive/src/collision.c b/archive/src/collision.c
new file mode 100644
index 0000000..81cbcfc
--- /dev/null
+++ b/archive/src/collision.c
@@ -0,0 +1,9 @@
+#include "immdraw.h"
+#include "maths.h"
+#include "maths_types.h"
+#include "physics.h"
+
+PUB void Debug_DrawOBB(OBB obb) {
+ Transform t = transform_create(obb.center, obb.rotation, vec3_sub(obb.bbox.max, obb.bbox.min));
+ Immdraw_Cuboid(t, vec4(0.0, 0.8, 0.1, 1.0), true);
+}