Path Tracing
Loading...
Searching...
No Matches
MeshBounds Struct Reference

Loaded mesh bounding box, axis-aligned, used for AABB early rejection Calculated during loadMesh. Used for AABB early rejection for rays that miss the bouding box. More...

#include <mesh.hpp>

Public Attributes

vec3 min_bound
 Minimum corner in world position.
vec3 max_bound
 Maximum corner in world position.

Detailed Description

Loaded mesh bounding box, axis-aligned, used for AABB early rejection Calculated during loadMesh. Used for AABB early rejection for rays that miss the bouding box.

See also
loadMesh, intersects

Member Data Documentation

◆ max_bound

vec3 MeshBounds::max_bound

Maximum corner in world position.

◆ min_bound

vec3 MeshBounds::min_bound

Minimum corner in world position.


The documentation for this struct was generated from the following file: