Files
Seele/src/Engine/Component/Collider.h
T
2023-12-11 14:45:37 +01:00

23 lines
374 B
C++

#pragma once
#include "Math/AABB.h"
#include "ShapeBase.h"
namespace Seele
{
namespace Component
{
enum class ColliderType
{
STATIC,
DYNAMIC,
};
struct Collider
{
ColliderType type = ColliderType::STATIC;
AABB boundingbox;
ShapeBase physicsMesh;
Collider transform(const Transform& transform) const;
};
} // namespace Component
} // namespace Seele