vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::Math::AABB Struct Reference

An axis-aligned box. More...

#include <bounds.h>

Public Member Functions

bool valid () const noexcept
 True when the box has non-degenerate extent.

Detailed Description

An axis-aligned box.

Member Function Documentation

◆ valid()

bool Vkm::Engine::Math::AABB::valid ( ) const
inlinenoexcept

True when the box has non-degenerate extent.

Returns
Whether the squared diagonal exceeds BOUNDS_EPSILON_SQ.

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