Skip to content

Commit 05196c6

Browse files
committed
document entobb object
1 parent 32d53d1 commit 05196c6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/engine/world/mpr.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,15 @@ namespace mpr
8282
vec center() const;
8383
};
8484

85+
/**
86+
* @brief Entity Oriented Bounded Box
87+
*
88+
* The orientation of the box is set by the `orient` matrix and the size of
89+
* the bounding box is set by the `ent->xradius`, `ent->yradius`, and
90+
* `ent->aboveeye`/`ent->eyeheight`.
91+
*
92+
* The orient matrix is set by the yaw of the entity `ent`.
93+
*/
8594
class EntOBB final : public Ent
8695
{
8796
public:

0 commit comments

Comments
 (0)