OpenGLMesh::VertexSummaries
struct · #include <rayrai/OpenGLMesh.hpp>
What precomputeVertexSummaries() and contentDigest() find. Internal: for caches of prepared geometry, which store it with the vertices.
Public attributes
bounds
cpp
bool boundslocalBoundingSphere() succeeds.
sphere
cpp
glm::vec4 sphereIts center (xyz) and radius (w).
halfExtents
cpp
glm::vec3 halfExtentslocalBoundingBox() half extents.
uniformColor
cpp
bool uniformColorEvery vertex has the first one's color.
contentDigest
cpp
uint64_t contentDigestmaxIndex
cpp
uint32_t maxIndexLargest of indices (0 without indices).