|
sandbox
|
Public Member Functions | |
| frustum (const math::matrix4x4 &view_projection) | |
| auto | intersects (const math::volume &aabb, const math::matrix4x4 &model) const noexcept -> bool |
Public Member Functions inherited from sbx::math::basic_box< Type > | |
| basic_box () noexcept=default | |
| Constructs an empty box. | |
| basic_box (const std::array< plane_type, 6u > &planes) noexcept | |
| Constructs a box from a plane array. More... | |
| basic_box (std::array< plane_type, 6u > &&planes) noexcept | |
| Constructs a box by moving in a plane array. More... | |
| auto | intersects (const volume_type &volume) const -> bool |
| Tests whether this box intersects a volume. More... | |
| auto | planes () const noexcept -> const std::array< plane_type, 6u > & |
| Returns the plane array backing this box. More... | |
| auto | plane (const size_type index) const noexcept -> const plane_type & |
| Returns the plane at a given index. More... | |
Additional Inherited Members | |
Public Types inherited from sbx::math::basic_box< Type > | |
| using | value_type = Type |
| Underlying scalar value type. | |
| using | plane_type = basic_plane< value_type > |
| Plane type used by this box. | |
| using | volume_type = basic_volume< value_type > |
| Volume type tested for intersection. | |
| using | size_type = std::size_t |
| Index type for plane access. | |