Quantcast
Channel: AABB - Documentation
Browsing latest articles
Browse All 7 View Live

AABB

The AABB class defines an axis-aligned bounding box.  This is useful as a rough and fast approximation like broadphase collision, where object AABBs are first tested for intersection before performing...

View Article



AABB::Update

This function will update an AABB's center, dimensions, and radius, given its minimum and maximum extents. Syntaxvoid Update()

View Article

AABB::IntersectsPoint

This function performs an intersection test between an AABB and a point. Syntaxbool IntersectsPoint(const Vec3& p, float radius=0) Parametersp: the point in space to test intersection with.radius:...

View Article

AABB::IntersectsAABB

This function performs an intersection test between two AABBs. Syntaxbool IntersectsAABB(const AABB& aabb, float overlap=0) Parametersaabb: the AABB to test intersection with.overlap: an additional...

View Article

AABB::IntersectsPlane

This function performs an intersection test between an AABB and a plane. Syntaxint IntersectsPlane(const Plane& plane) Parametersplane: the plane to test intersection with. ReturnsReturns true if...

View Article


AABB::IntersectsRay

This function performs an intersection test between an AABB and a line. Syntaxbool IntersectsLine(const Vec3& p0, const Vec3& p1, const float& radius=0.0) Parametersp0: the starting point...

View Article

AABB::DistanceToPoint

This function returns the shortest distance between the point and the AABB. Syntaxfloat DistanceToPoint(const Vec3& point, float radius=0) Parameterspoint: the point to test the distance to.radius:...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC