NGL
6.5
The NCCA Graphics Library
|
#include <AABB.h>
Public Member Functions | |
AABB (const Vec4 &_corner, Real _x, Real _y, Real _z) noexcept | |
ctor More... | |
AABB () noexcept | |
default ctor More... | |
~AABB () | |
dtor (not used) More... | |
void | set (const Vec4 &_corner, Real _x, Real _y, Real _z) noexcept |
set the AABB values More... | |
void | setFromBBox (const BBox &_b) noexcept |
set from a bounding box More... | |
Vec3 | getVertexP (const Vec3 &_normal) const noexcept |
Vec3 | getVertexN (const Vec3 &_normal) const noexcept |
Private Attributes | |
Vec4 | m_corner |
Real | m_x |
Real | m_y |
Real | m_z |
Friends | |
class | BBox |
|
noexcept |
Definition at line 90 of file AABB.cpp.
References m_corner, m_x, ngl::Vec3::m_x, m_y, ngl::Vec3::m_y, m_z, ngl::Vec3::m_z, and ngl::Vec4::toVec3().
Definition at line 70 of file AABB.cpp.
References m_corner, m_x, ngl::Vec3::m_x, m_y, ngl::Vec3::m_y, m_z, ngl::Vec3::m_z, and ngl::Vec4::toVec3().
set the AABB values
[in] | _corner | the corner extent of the AABB |
[in] | _x | the x extent |
[in] | _y | the y extent |
[in] | _z | the z extent |
Definition at line 46 of file AABB.cpp.
References m_corner, m_x, ngl::Vec4::m_x, m_y, ngl::Vec4::m_y, m_z, and ngl::Vec4::m_z.
set from a bounding box
_b | the bbox to set from |