mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
removed useless stufff
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
//
|
||||
// Created by vlad on 11/15/2024.
|
||||
//
|
||||
#pragma once
|
||||
#include "ICollidable.h"
|
||||
|
||||
namespace omath::collision
|
||||
{
|
||||
class Cube final : public ICollidable
|
||||
{
|
||||
public:
|
||||
|
||||
[[nodiscard]]
|
||||
bool IsCollideWith(const std::shared_ptr<ICollidable>& other) override;
|
||||
|
||||
private:
|
||||
[[nodiscard]]
|
||||
bool IsCollideWithCube(const Cube& other);
|
||||
bool IsCollideWithCapsule(const Cube& other);
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// Created by vlad on 11/15/2024.
|
||||
//
|
||||
#pragma once
|
||||
#include "ICollidable.h"
|
||||
#include <memory>
|
||||
|
||||
|
||||
|
||||
namespace omath::collision
|
||||
{
|
||||
class ICollidable
|
||||
{
|
||||
public:
|
||||
virtual ~ICollidable() = default;
|
||||
|
||||
[[nodiscard]]
|
||||
virtual bool IsCollideWith(const std::shared_ptr<ICollidable>& other) = 0;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user