3D mesh
#include <srl_mesh.hpp>
Public Member Functions | |
| Mesh () | |
| Construct a new empty mesh object. | |
| Mesh (const size_t &vertexCount, const size_t &polygonCount) | |
| Construct a new empty mesh object and initialize its arrays. | |
| Mesh (const size_t &vertexCount, SRL::Math::Types::Vector3D *vertices, const size_t &faceCount, Polygon *faces, Attribute *attributes) | |
| Construct a new mesh object from existing data. | |
| ~Mesh () | |
| Destroy the Mesh object. | |
| Mesh & | operator= (Mesh &&other) noexcept |
| Move assignment operator. | |
| const PDATA * | SglConstPtr () const |
| Get pointer to SGL type. | |
| PDATA * | SglPtr () |
| Get pointer to SGL type. | |
Public Attributes | |
| Attribute * | Attributes |
| Face attributes. | |
| size_t | FaceCount |
| Number of faces. | |
| Polygon * | Faces |
| Mesh faces. | |
| size_t | VertexCount |
| Number of vertices of the mesh. | |
| SRL::Math::Types::Vector3D * | Vertices |
| Vertices of the mesh. | |