[WIP] collision fixing

This commit is contained in:
DESKTOP-EBR7IVA\kimve
2021-06-18 11:20:24 +02:00
parent ca61dfc781
commit 022c7eb1f0
9 changed files with 38 additions and 19 deletions

View File

@@ -5,6 +5,7 @@
#include <map>
#include "../models/Model.h"
#include "../collision/collision.h"
#include "collision_entity.h"
namespace entities
{
@@ -44,7 +45,7 @@ namespace entities
*
* @return: A list with all the entities of the generated house (the furniture)
*/
std::deque<std::shared_ptr<Entity>> GenerateHouse(const glm::vec3& position, float y_rotation);
std::deque<std::shared_ptr<CollisionEntity>> GenerateHouse(const glm::vec3& position, float y_rotation);
/*
* @brief: Returns the depth of the house (chunk)