3#include "resources/ResourcesManager.hpp"
17 static const std::array<glm::vec3, 6>
boxUps;
20 static const std::array<glm::mat4, 6>
boxVs;
21 static const std::array<glm::mat4, 6>
boxVPs;
The library provides a few commonly-used resources without having to set them up or query them from t...
Definition: Library.hpp:13
static const std::array< glm::vec3, 6 > boxUps
Skybox faces vertical direction.
Definition: Library.hpp:17
static Mesh generateGrid(uint resolution, float scale)
Definition: Library.cpp:49
static const std::array< glm::mat4, 6 > boxVs
Skybox faces view matrices.
Definition: Library.hpp:20
static const std::array< glm::vec3, 6 > boxCenters
Skybox faces center location.
Definition: Library.hpp:18
static const std::array< glm::mat4, 6 > boxVPs
Skybox faces view-projection matrices.
Definition: Library.hpp:21
static const std::array< glm::vec3, 6 > boxRights
Skybox faces horizontal direction.
Definition: Library.hpp:19
static Mesh generateCylinder(uint resolution, float radius, float height)
Definition: Library.cpp:77
Represents a geometric mesh composed of vertices, other attributes and triangles.
Definition: Mesh.hpp:15