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