#include <AxisAlignedBox.h>
cinder::AxisAlignedBox3f::AxisAlignedBox3f |
( |
| ) |
|
cinder::AxisAlignedBox3f::AxisAlignedBox3f |
( |
const Vec3f & |
aMin, |
|
|
const Vec3f & |
aMax |
|
) |
| |
bool cinder::AxisAlignedBox3f::intersects |
( |
const Ray & |
ray | ) |
|
int cinder::AxisAlignedBox3f::intersect |
( |
const Ray & |
ray, |
|
|
float |
intersections[2] |
|
) |
| |
Vec3f cinder::AxisAlignedBox3f::getCenter |
( |
| ) |
const |
Vec3f cinder::AxisAlignedBox3f::getSize |
( |
| ) |
const |
Expands the box so that it contains box.
const Vec3f& cinder::AxisAlignedBox3f::getMin |
( |
| ) |
const |
const Vec3f& cinder::AxisAlignedBox3f::getMax |
( |
| ) |
const |
Vec3f cinder::AxisAlignedBox3f::getNegative |
( |
const Vec3f & |
normal | ) |
const |
for use in frustum culling
Vec3f cinder::AxisAlignedBox3f::getPositive |
( |
const Vec3f & |
normal | ) |
const |
converts axis-aligned box to another coordinate space
static bool cinder::AxisAlignedBox3f::calcTriangleIntersection |
( |
const Ray & |
ray, |
|
|
const Vec3f & |
vert0, |
|
|
const Vec3f & |
vert1, |
|
|
const Vec3f & |
vert2, |
|
|
float * |
result |
|
) |
| |
|
static |
Vec3f cinder::AxisAlignedBox3f::mExtents[2] |
|
protected |
Vec3f cinder::AxisAlignedBox3f::mVerts[8] |
|
protected |
The documentation for this class was generated from the following files: