From b03bde3d412148cd573f5f14012cdd270f309947 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:00:26 +1000 Subject: starting work on immediate mode drawing --- src/physics/collision.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/physics/collision.h (limited to 'src/physics/collision.h') diff --git a/src/physics/collision.h b/src/physics/collision.h deleted file mode 100644 index cca6042..0000000 --- a/src/physics/collision.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @file collision.h - * @author your name (you@domain.com) - * @brief - * @version 0.1 - * @date 2024-05-12 - * - * @copyright Copyright (c) 2024 - * - */ -#pragma once -#include "geometry.h" - -enum collider_type { - cuboid_collider, - sphere_collider, -}; - -/** @brief generic collider structure */ -typedef struct physics_collider { - u64 id; // ? Replace with handle? - enum collider_type shape; - union collider_data { - cuboid cuboid; - sphere sphere; - } geometry; - transform transform; - u8 layer; - bool on_ground; -} physics_collider; \ No newline at end of file -- cgit v1.2.3-70-g09d2