14 glm::vec3 scale{1, 1, 1};
20 unsigned int factoryCube(
const BasicInfo &info,
const glm::vec4 &color = {1, 0, 0, 1});
21 unsigned int factorySphere(
const BasicInfo &info,
const glm::vec4 &color = {1, 0, 0, 1});
22 unsigned int factorySphereInstanced(
const BasicInfo &info,
const glm::vec4 &color = {0, 0, 1, 1});
23 unsigned int factoryPyramid(
const BasicInfo &info,
const glm::vec4 &color = {1, 0, 0, 1});
24 unsigned int factoryThorus(
const BasicInfo &info,
const glm::vec4 &color = {1, 0, 0, 1});
25 unsigned int factoryCylinder(
const BasicInfo &info,
const glm::vec4 &color = {1, 0, 0, 1});
27 unsigned int factoryPlane(
const glm::vec4 &color);
29 unsigned int factorySkyBox(
const std::string &path,
const std::string &format);
31 unsigned int factoryObjMesh(
const BasicInfo &info,
const std::string &pathToFile);
33 unsigned int factoryTree(
const BasicInfo &info);
36 unsigned int factoryDirectional(
const glm::vec3 &direction);
37 unsigned int factoryPoint(
const glm::vec3 &position,
const LightConstraint &constraint);
38 unsigned int factorySpot(
const glm::vec3 &position,
const glm::vec3 &direction,
const LightConstraint &constraint,
const float &cutOff = 12.5f,
const float &outerCutOff = 17.5f);
Simple data structure to store mesh information: position, scale, rotation and if it needs to be rend...
Definition Factory.hpp:12