37 set(_corner,_x,_y,_z);
74 if (_normal.m_x > 0.0f)
78 if (_normal.m_y > 0.0f)
83 if (_normal.m_z > 0.0f)
94 if (_normal.m_x < 0.0f)
98 if (_normal.m_y < 0.0f)
103 if (_normal.m_z < 0.0f)
simple Vector class for OpenGL graphics, contains overloaded operators for most math functions...
Vec3 toVec3() const noexcept
get as a Vec3 for glsl etc
an Axis Aligned Bounding Box
simple Vec3 encapsulates a 3 float object like glsl vec3 but not maths use the Vec3 class for maths a...
implementation files for RibExport class
PRECISION Real
create a variable called Real which is the main data type we use (GLfloat for most cases) ...
void set(Real _x, Real _y, Real _z, Real _w=1.0) noexcept
sets the vector component from 3 values
AABB() noexcept
default ctor
Vec3 getVertexN(const Vec3 &_normal) const noexcept
Vec3 getVertexP(const Vec3 &_normal) const noexcept
void set(const Vec4 &_corner, Real _x, Real _y, Real _z) noexcept
set the AABB values