From 72b8d26fcfcee36ca67f963b9c6a4b616e2d5d4d Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 12 Aug 2024 00:15:33 +1000 Subject: scale is a vec3 now instead of float. --- src/collision.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/collision.h (limited to 'src/collision.h') diff --git a/src/collision.h b/src/collision.h deleted file mode 100644 index 4ac9ec3..0000000 --- a/src/collision.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include "geometry.h" - -enum ColliderType { - CuboidCollider, - SphereCollider, -}; - -/** @brief generic collider structure */ -typedef struct Collider { - u64 id; // ? Replace with handle? - enum ColliderType shape; - union collider_data { - Cuboid cuboid; - Sphere sphere; - } geometry; - Transform transform; - u8 layer; - bool on_ground; -} Collider; -- cgit v1.2.3-70-g09d2