Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Base Mesh structure, this one doesn't relies on vertices. More...
#include <OxygenEngine/scene/mesh.h>
Public Member Functions | |
constexpr uint32_t | getSubMeshCount () const noexcept |
constexpr const std::vector< index_t > & | getIndices (uint32_t sub_mesh=0) const noexcept |
constexpr const AABB & | getBoundingBox () const noexcept |
constexpr void | flipFaces () noexcept |
constexpr const std::vector< glm::uvec3 > | getTriangles (uint32_t sub_mesh=0) const |
Protected Attributes | |
std::vector< std::vector< index_t > > | _indices |
AABB | _aabb |
Base Mesh structure, this one doesn't relies on vertices.
|
inlineconstexpr |
Get groups of 3 indices that form triangles