Skip to content

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 bounds

localBoundingSphere() succeeds.

sphere ​

cpp
glm::vec4 sphere

Its center (xyz) and radius (w).

halfExtents ​

cpp
glm::vec3 halfExtents

localBoundingBox() half extents.

uniformColor ​

cpp
bool uniformColor

Every vertex has the first one's color.

contentDigest ​

cpp
uint64_t contentDigest

contentDigest().

maxIndex ​

cpp
uint32_t maxIndex

Largest of indices (0 without indices).

RaiSim — physics for robotics and AI.