raisin::tcp_viewer::DeformableMesh
struct · #include <rayrai/TcpRemoteSceneState.hpp>
Dynamic triangle mesh data for a deformable object.
Public attributes
vertices
cpp
std::vector<float> verticesFlattened xyz positions.
indices
cpp
std::vector<int32_t> indicesTriangle vertex indices.
renderVertices
cpp
std::vector<Vertex> renderVerticesRender vertices derived from vertices.
vertexDirty
cpp
bool vertexDirtyPositions changed; render vertices must be refreshed.
topologyDirty
cpp
bool topologyDirtyIndices changed; the render mesh must be rebuilt.
hasBounds
cpp
bool hasBoundsboundsMin / boundsMax are valid.
boundsMin
cpp
glm::vec3 boundsMinAABB minimum of vertices.
boundsMax
cpp
glm::vec3 boundsMaxAABB maximum of vertices.