45 const Geometry::Vec3& min,
46 const Geometry::Vec3& max
65 const short& component
bool pointInAABB(Geometry::Vec3 p)
Check whether the point lies inside this AABB.
Definition: AABB.cpp:55
bool triInAABB(const Polygon *p)
Check whether the polygon intersects with this AABB.
Definition: AABB.cpp:46
bool AABBintersection(const AABB &a, const AABB &b)
Check if two AABBs intersect.
Definition: AABB.cpp:64
AABB()
A constructor that creates an object with dummy attributes.
Definition: AABB.cpp:23
A struct that represents a single polygon.
Definition: Polygon.h:21
bool triNotInAABB(const Polygon *p, const short &component)
Check whether a polygon definetely lies outside of this AABB.
Definition: AABB.cpp:33
Geometry::Vec3 max
The biggest corner of the AABB.
Definition: AABB.h:25
Geometry::Vec3 min
The smallest corner of the AABB.
Definition: AABB.h:24
This file declares the struct Polygon that presents a convenient way to access polygons.
This struct models an AABB.
Definition: AABB.h:22