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 | |
uint32_t | getSubMeshCount () const |
const std::vector< index_t > & | getIndices (uint32_t sub_mesh=0) const |
const AABB & | getBoundingBox () const |
void | flipFaces () |
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.
const std::vector< glm::uvec3 > oe::scene::CommonMesh::getTriangles | ( | uint32_t | sub_mesh = 0 | ) | const |
Get groups of 3 indices that form triangles