fast::MeshAccess class

Public types

using pointer = std::unique_ptr<MeshAccess>

Constructors, destructors, conversion operators

MeshAccess(std::vector<float>* mCoordinates, std::vector<float>* mNormals, std::vector<float>* mColors, std::vector<uint>* mLines, std::vector<uint>* mTriangles, std::shared_ptr<Mesh> mesh)
~MeshAccess()

Public functions

auto getVertex(uint i) -> MeshVertex
void setVertex(uint i, MeshVertex)
void addVertex(MeshVertex v)
auto getTriangle(uint i) -> MeshTriangle
void setTriangle(uint i, MeshTriangle)
void addTriangle(MeshTriangle t)
auto getLine(uint i) -> MeshLine
void setLine(uint i, MeshLine)
void addLine(MeshLine l)
auto getTriangles() -> std::vector<MeshTriangle>
auto getLines() -> std::vector<MeshLine>
auto getVertices() -> std::vector<MeshVertex>
void release()