Files
Seele/src/Engine/Component/Collider.h
T
2024-06-09 12:20:53 +02:00

19 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