Files
tech5/source/shared/idlib/bv/bounds.h
T
2026-08-08 19:30:03 -07:00

20 lines
400 B
C++

#pragma once
#include "../math/vector.h"
// Recovered two-vector bounds layout used by the geometry reconstruction.
class idBounds {
public:
idVec3 b[2];
const idVec3& operator[](const int index) const {
return b[index];
}
idVec3& operator[](const int index) {
return b[index];
}
};
static_assert(sizeof(idBounds) == 24, "Recovered idBounds layout changed");