removed useless stufff

This commit is contained in:
2024-11-18 20:43:58 +03:00
parent b482a0bd99
commit 21ff315bc6
5 changed files with 1 additions and 60 deletions

View File

@@ -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);
};
}

View File

@@ -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;
};
}