Merge pull request #97 from AnonymusRaccoon/map_generator

Map generator
This commit is contained in:
Clément Le Bihan
2021-06-01 20:53:39 +02:00
committed by GitHub
16 changed files with 656 additions and 360 deletions

View File

@@ -27,10 +27,10 @@ namespace RAY::Drawables::Drawables3D {
//! @param filePath: path to file to load
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,
const RAY::Vector3 &scale = RAY::Vector3(1, 1, 1));
float rotationAngle = 0);
//! @brief Create an model, loading a file
//! @param mesh: mesh to load