From dfb6adbcbcc7d50b770b6d5ea82efdd8f8c32e25 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 5 Oct 2024 12:48:05 +1000 Subject: delete documentation workflow --- archive/src/collision.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 archive/src/collision.c (limited to 'archive/src/collision.c') 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); +} -- cgit v1.2.3-70-g09d2