need to fix collisionsystem

This commit is contained in:
HENRY Benjamin
2021-06-09 16:13:23 +02:00
51 changed files with 724 additions and 120 deletions

View File

@@ -25,12 +25,13 @@ namespace RAY::Drawables::Drawables3D {
//! @brief Create an model, loading a file
//! @param filePath: path to file to load
//! @param lonely: should be set to true if the entity's loaded data must be independant from others
Model(const std::string &filePath,
std::optional<std::pair<MaterialType, std::string>> texture = std::nullopt,
const RAY::Vector3 &scale = RAY::Vector3(1, 1, 1),
const RAY::Vector3 &position = {0, 0, 0},
const RAY::Vector3 &rotationAxis = RAY::Vector3(0, 1, 0),
float rotationAngle = 0);
float rotationAngle = 0, bool lonely = false);
//! @brief Create an model, loading a file
//! @param mesh: mesh to load