#include <Util.h>
Public Member Functions | |
AABB (const Vec3 &size=Vec3(0.0, 0.0, 0.0)) | |
const Vec3 & | getSize (void) const |
Vec3 & | getSize (void) |
float | getWidth (void) const |
float | getHeight (void) const |
float | getDepth (void) const |
void | reset (void) |
Vec3 | getCorner (int i) const |
void | render (const Mat4 &mat, GLenum method=GL_LINE_LOOP) const |
void | adjust (const Vec3 &vct) |
void | set (const Vec3 &size) |
AABB & | operator= (const AABB &other) |
bool | operator== (const AABB &v2) const |
Definition at line 271 of file Util.h.
const Vec3& RenderTools::AABB::getSize | ( | void | ) | const [inline] |
bool RenderTools::AABB::operator== | ( | const AABB & | v2 | ) | const [inline] |
void RenderTools::AABB::render | ( | const Mat4 & | mat, | |
GLenum | method = GL_LINE_LOOP | |||
) | const |